100% free · every feature included · no premium tier

Think it in text.
Watch your database draw itself.

Write tables in a small text language and see a live, editable ER diagram build in real time — then export real SQL, Laravel migrations, or hand the whole schema to an AI assistant over MCP.

0Features included
0SQL export dialects
0MCP tools for AI clients
FreeForever, no premium tier

Not a screenshot. This is the actual editor.

Typing on the left renders live on the right — the same engine that runs the real app.


        
18 features · one free plan

Everything a schema needs, nothing it doesn't

Every one of these ships in the free tier — there's no paid tier holding features back.

Design the schema

Live text-to-diagram

Type a table, see it appear. No dragging boxes around just to sketch a schema.

Drag-and-drop relationships

Draw a foreign key by dragging from one column to another — direction inferred automatically.

Subject areas

Group related tables into colored, labeled regions — drag the region to move every table inside it together.

Built-in validation

Catches duplicate names, dangling references, and type mismatches before you ship the SQL.

Import & export

Reverse-engineer SQL

Paste an existing CREATE TABLE dump and get a full diagram back — no manual redrawing.

Four SQL dialects

PostgreSQL, MySQL, SQL Server, and Oracle — with real type translation, not just find-and-replace.

Laravel migrations

One migration file per table plus a foreign-keys migration, ready to drop into an app.

Export to image or PDF

Download the diagram itself as SVG, PNG, or PDF — for docs, slide decks, or a quick visual share.

Collaborate & share

Live collaboration

See who else is viewing or editing, watch their cursor move, and see their edits appear on your canvas in real time.

Collaborator roles

Invite people by email as a viewer or editor — permissions are enforced on every request, not just hidden in the UI.

Public or private share links

One link, toggled either way: public means anyone who opens it sees a read-only copy, no account needed; private means only people you've added below can open it, and only once logged in. Switch between the two anytime without the link itself changing.

Version history

Every diagram keeps a timeline of edits, renames, and sharing changes — restore any earlier version in one click.

Your account, protected

Synced to your account

Every diagram is saved to a real account, not just one browser's local storage — open it from any device.

Encrypted at rest

Every schema is stored encrypted in the database, not just behind a login — a raw database dump reveals nothing.

Built for real workflows

Undo, redo, shortcuts

Copy/paste/duplicate tables, full undo history, and keyboard shortcuts for everything.

Presentation mode

Fullscreen the canvas and hide every editing control for reviews and screen-shares.

Dark & light themes

Follows your system by default; toggle it anytime, everywhere in the app.

MCP server included

Point Claude or any MCP-compatible client at your diagrams — list, edit, validate, export.

Bring your own AI assistant

DBDraw ships with an MCP server, so any MCP-compatible AI client can read and edit your diagrams directly — no copy-pasting DBML back and forth.

get_dbml_syntax_guideThe exact syntax reference, for the AI to read before writing anything
list_diagramsList every diagram in your account
get_diagramFetch one diagram's full DBML source and layout
validate_dbmlCheck syntax errors and warnings before saving
create_diagramStart a brand new diagram
update_diagramEdit or rename an existing diagram
delete_diagramRemove a diagram
export_sqlPostgreSQL, MySQL, SQL Server, or Oracle DDL
export_laravel_migrationsReady-to-run Laravel migration files
{
  "mcpServers": {
    "dbdraw": {
      "command": "node",
      "args": ["/absolute/path/to/dbdiagram-clone/mcp-server/index.js"],
      "env": {
        "DBDRAW_API_BASE": "http://127.0.0.1:8010/api",
        "DBDRAW_TOKEN": "your-sanctum-token"
      }
    }
  }
}

Works with Claude Desktop, Claude Code, and any other MCP-compatible client — the same tools power every one of them.

Three steps, no manual

1

Write your schema

Plain text — tables, columns, and relationships. Autocomplete suggests types as you go.

2

Watch it render

Tables, keys, and foreign keys appear live on an infinite canvas you can drag and zoom.

3

Ship it

Export SQL or Laravel migrations, or let an AI assistant read and edit it over MCP.

Questions, answered

Anything not covered here, the app itself will make obvious in about ten seconds.

Is DBDraw actually free, or is this a trial?

Free, no trial and no premium tier — every feature on this page, including all four SQL dialects, Laravel migrations, and the MCP server, is available on every account today.

Do I need to install or self-host anything?

No — DBDraw is a hosted web app. Create an account and start designing in the browser; there's nothing to run locally. (The MCP server is the one optional exception: it's a small script you can run yourself if you want an AI client to talk to your diagrams.)

Where are my diagrams stored?

In your account, on the server — not just in one browser's local storage. Sign in from any device and your diagrams are exactly where you left them. Every schema is also encrypted at rest in the database, so a raw dump of the data reveals nothing.

What's the text language for defining tables?

A small, readable schema language similar to DBML: Table blocks with typed columns, inline or standalone Ref: lines for foreign keys, and optional TableGroup blocks for subject areas. The editor autocompletes column types as you type.

Can I bring in a database I already have?

Yes — paste existing CREATE TABLE / ALTER TABLE SQL into the import dialog and DBDraw reverse-engineers it into an editable diagram.

What can I export?

PostgreSQL, MySQL, SQL Server, or Oracle SQL; a zipped set of Laravel migrations (one file per table plus a foreign-keys migration); or the diagram itself as SVG, PNG, or PDF.

How does the MCP server work?

It exposes your diagrams as tools — list, fetch, create, edit, validate, and export — to any MCP-compatible AI client, like Claude Desktop or Claude Code. The AI reads and writes the same schema language you'd type by hand, so nothing about your diagram changes format just because an AI touched it.

Your next schema is a few tables away.

Start designing — free