Everything you need to design and document your schema.

The database ER diagram tool with AI, real-time collaboration, and SQL import.

Features

AI that works on your actual schema Pro

Find missing indexes, generate tables from a description, and review every change as a diff before it lands.

See plans →
DrawSQL AI
Add invoicing to the billing schema
Generated 2 tables with linked relationships.
+2 tables ▵1 table +3 relationships
!
Missing index on subscriptions.team_id Apply Fix

Import from SQL

Paste CREATE TABLE statements and get a diagram you can actually work with.

Try it →
CREATE TABLE users (
id bigint PK,
email varchar,
team_id bigint FK
);
users
id bigint
email varchar
team_id bigint

Export to SQL, Laravel, and JSON

DDL for your database engine, Laravel migrations, or raw JSON. One click.

</> SQL
{L} Laravel
{ } JSON

Multi-database support

Column types, constraints, and indexes that match your actual database engine — not generic approximations.

MySQL
PostgreSQL
SQL Server
MariaDB

Templates for common app patterns

200+ real-world schemas to start from — SaaS, e-commerce, CRM, and more.

Multi-tenant
CRM
E-commerce
SaaS Billing
200+ templates Browse templates →

Multiplayer editing Pro

See who's editing what with live cursors. Run architecture reviews on the actual schema — not a screenshare or a stale screenshot.

See plans →
M
J
S
invoices
iduuid
team_idbigint
statusenum
line_items
iduuid
invoice_iduuid
amountint
Maya
Jon
M
Track invoice status history before this ships.

Teams and permissions Pro

Invite your team, control who can edit or view, and organize diagrams into folders.

See plans →
D
Admin
M
Editor
S
Viewer

Groups and notes for visual structure

Keep large schemas readable by organizing them around the domains your team already uses.

Auth
Billing
Content

Version history Pro

Go back to earlier schema states when you need to compare approaches.

See plans →
Now
2h ago
Yesterday

Share anywhere — link, embed, or invite

One diagram, three ways to share it. Public link, embed, or guest invite — you choose who sees what.

Anyone with the link can view
Embed in Notion, Confluence
Invite guests with view-only access

Private diagrams Pro

Free diagrams are public. Upgrade and your work stays private — visible only to you and the people you invite.

See plans →
Public Anyone can view
Private Only your team

Try it without signing up

Go to drawsql.app/draw and start diagramming. No account needed. Share the URL when you're done.

Open the editor →
drawsql.app/draw

Compare schema versions Coming soon

See exactly what changed between two points in time. Added tables, removed columns, renamed fields — all highlighted.

Before
id
email
planName
After
id
email
plan_name
plan_id

One source of truth

Database diagrams your team actually uses.

Import your SQL. Bring your team in. Keep it current.

Storytel Instacart Cisco Accenture Fujitsu Asurion