Skip to content
Day 69: new resources are added every day. See what's new

Web App

dbdiagram.io

Draw database diagrams by writing simple code instead of dragging boxes.

Visit dbdiagram.io4.6
  • Rating

    4.6 / 5

  • Pricing

    Freemium

  • Difficulty

    Intermediate

  • Works on

    Web

Built with love by Shushant Lakhyani. Building bestproductivityresources.com

What is dbdiagram.io?

dbdiagram.io turns a short, readable schema language called DBML into entity relationship diagrams as you type. The free plan includes up to 10 diagrams with SQL import and export, image exports and public sharing, while paid plans add version history, private sharing and team workspaces.

Pros: what dbdiagram.io does well

  • Fast diagrams from plain text
  • SQL import and export
  • Generous free plan

Cons: where it falls short

  • Free plan is limited to 10 diagrams
  • Version history needs a paid plan

Who dbdiagram.io is for

Developers and students who design or document database schemas.

Who can skip it

People who never work with databases.

What people use dbdiagram.io for

  • Sketching a new database schema as code before you build it
  • Documenting an existing database by importing its SQL schema
  • Sharing an entity relationship diagram with teammates through a public or private link
  • Exporting a diagram as PDF, PNG or SVG for docs and slides

How to get started

  1. 1Open dbdiagram.io in your browser and start a new diagram.
  2. 2Write your tables, columns and references in DBML, its short schema language; the diagram draws itself as you type.
  3. 3Or import an existing SQL schema instead of typing it.
  4. 4Export the result as SQL or an image, or share a link to the diagram.

dbdiagram.io pricing

dbdiagram.io has a Free plan with up to 10 diagrams, SQL import and export, image exports and public sharing. Paid plans are Personal Pro (unlimited diagrams, full schema history, password-protected sharing, AI Assistant) and Team (shared workspace, several editors, 7-day free trial), plus a Custom plan for larger organisations. See current prices on dbdiagram.io's site

Checked 2026-11-10. Prices change, so double-check before you pay.

dbdiagram.io FAQ: quick answers

Is dbdiagram.io free?
Yes, there is a free plan with no time limit. It is capped at 10 diagrams and keeps 14 days of schema change history.
What is DBML?
DBML (Database Markup Language) is a simple, readable way to describe tables and relationships. dbdiagram.io turns it into a diagram as you type.
Can I use dbdiagram.io offline or from the command line?
Its docs cover a CLI and a VS Code extension for working with diagrams locally.

dbdiagram.io alternatives

Not sold on dbdiagram.io? These do a similar job, and each card says what it has in common.

Dolt

Focus: version control, git for data and agent memory. Shares database and sql with dbdiagram.io. A desktop app, not a web app. Free (dbdiagram.io: Freemium). Same 4.6 rating.

Desktop AppFreeCross-Platform

D2

Focus: diagram as code, command line and open source. Shares diagrams with dbdiagram.io. A desktop app, not a web app. Free (dbdiagram.io: Freemium). Adds macOS, Windows and Linux. Same 4.6 rating.

Desktop AppFreemacOS, Windows

Excalidraw Libraries

Focus: excalidraw, wireframes and templates. Shares diagrams with dbdiagram.io. A website, not a web app. Free (dbdiagram.io: Freemium). Rated 4.5 (dbdiagram.io: 4.6).

WebsiteFreeWeb

Whiteboard

Focus: software design, code review and claude code. Shares diagrams with dbdiagram.io. A desktop app, not a web app. Free (dbdiagram.io: Freemium). Adds macOS, Windows and Linux. Rated 4.5 (dbdiagram.io: 4.6).

Desktop AppFreemacOS, Windows

LinearFeatured, verified

Focus: issues, sprints and engineering. Also in Workflows and Collaboration, like dbdiagram.io. Adds macOS and Windows. Rated 4.8 (dbdiagram.io: 4.6).

Web AppFree planWeb, macOS

Free alternatives to dbdiagram.io

Want to spend nothing? These free picks cover similar ground.

Grafana

Focus: dashboards, monitoring and metrics. Also in Collaboration and Workflows, like dbdiagram.io. Free (dbdiagram.io: Freemium). Adds Linux. Rated 4.7 (dbdiagram.io: 4.6).

Web AppFreeWeb, Linux

DBeaver

Focus: data, query and open source. Shares database and sql with dbdiagram.io. A desktop app, not a web app. Free (dbdiagram.io: Freemium). Adds macOS, Windows and Linux. Same 4.6 rating.

Desktop AppFreemacOS, Windows

DbGate

Focus: nosql, query editor and open source. Shares database and sql with dbdiagram.io. A desktop app, not a web app. Free (dbdiagram.io: Freemium). Adds macOS, Windows and Linux. Rated 4.5 (dbdiagram.io: 4.6).

Desktop AppFreemacOS, Windows

Gridex

Focus: mcp, ide and postgresql. Shares database and sql with dbdiagram.io. A desktop app, not a web app. Free (dbdiagram.io: Freemium). Adds macOS, Windows and Linux. Rated 4.3 (dbdiagram.io: 4.6).

Desktop AppFreemacOS, Windows

Claude Code Game Studios

Focus: claude code, game development and ai agents. Also in Workflows and Collaboration, like dbdiagram.io. An AI tool, not a web app. Free (dbdiagram.io: Freemium). Adds macOS, Windows and Linux. Rated 4.8 (dbdiagram.io: 4.6).

AI ToolFreemacOS, Windows

draw.io

Focus: flowcharts, uml and open source. Shares diagrams with dbdiagram.io. Free (dbdiagram.io: Freemium). Adds Windows, macOS and Linux. Rated 4.7 (dbdiagram.io: 4.6).

Web AppFreeWeb, Windows
Are you the maker of dbdiagram.io?Get a free Featured badge for your site, a share image and ready-to-paste posts. No sign-up.

Free Notion database

1,100+ ways people are making money online

Real online businesses, creators and projects, broken down by how they make money: apps, online stores, AI tools and more. Free on Gumroad.

Get the free database

Free Notion database

399+ ways to make money online

Hundreds of online income methods in one place, so you can compare options and pick one to try. Free on Gumroad.

Get the free list

For research and ideas only. Results vary and nothing here is a promise of income. See our Disclaimer.

Weekly newsletter

Everything new, every Monday.

One short email every Monday with everything shipped that week: new free tools and websites, new guides, new free browser tools and what's new in my free Gumroad libraries, plus how the site is growing. Free, and you can unsubscribe anytime.

Join the newsletter

You sign up on Gumroad, which stores your email to send the newsletter. See our Privacy Policy.