Code-first source
DBML is the single source of truth. The diagram follows the text, never the other way around.
Write DBML, get an interactive ERD, and share living documentation. Code-first, versionable, and built for engineers.
No login required to try. Sign in when you want to save and share.
Table users {
id uuid [pk]
email citext [unique, not null]
created_at timestamptz [default: `now()`]
}
Table diagrams {
id uuid [pk]
owner_id uuid [ref: > users.id]
source text
updated_at timestamptz
}users
2 columns · PK id
diagrams
FK owner_id → users.id
Keep your schema in plain text. Version it, review it, diff it like code.
Tables, relations, and enums render instantly as you type. Drag to arrange.
Send a read-only link or export DBML, SQL, SVG, and PNG in one click.
Built for the way engineers already work: text in version control, diagrams for review, and links for everyone else.
DBML is the single source of truth. The diagram follows the text, never the other way around.
Parse errors surface with line and column, and the last valid diagram stays on screen.
Publish read-only documentation with revocable links. No seat required to view.
PostgreSQL and MySQL DDL from the server, SVG and PNG straight from the canvas.
Manual positions are saved per diagram, so reopening never scrambles your canvas.
SaaS, e-commerce, blog, auth, and analytics schemas to edit instead of starting blank.
Start with the editor, create an account when you are ready to save, share, and export. Feedback shapes what ships next.