See your database.
Ship schema changes safely.
Import your live schema, design changes with your team, and export the SQL.
From live database
to shipped change
- 01Connect
Run one read-only query against your database and paste the result. drawDB never sees your credentials.
postgres · mysql · mssql · sqlite · mariadb · oracle - 02Design
Get an auto-laid-out diagram, then edit it with your team in real time, with live cursors and presence.
auto-layout · live collaboration - 03Ship
Export clean DDL for your dialect, push the schema to GitHub, and let your AI agent read it over MCP.
sql · dbml · github · mcp






Free forever.
Pro when your team needs it.
Tables, relationships, subject areas and notes on an infinite canvas, with copy, paste, duplicate, undo and redo.
MySQL, PostgreSQL, SQLite, MariaDB, SQL Server, Oracle and a generic dialect. Design once, generate DDL for the one you ship on.
Bring a schema in from a live database, DDL or DBML. Take it out as SQL, DBML, JSON or an image.
Build views from joins, columns and conditions. drawDB writes the CREATE VIEW for your dialect.
Define enums and PostgreSQL composite types, and use them in any column.
drawDB flags duplicate names, missing primary keys, empty fields and circular references before you export.
Start from a real-world schema for e-commerce, SaaS, social, fintech and more, then make it yours.
Add tables, duplicate, zoom and save without leaving the keyboard.
Hide the panels and walk your team through the diagram in a design review.
Design together in real time with shared cursors, presence and instant sync.
Invite your team, assign admin or member roles, and decide who can view or edit each diagram.
Link a diagram to a repository. Push schema changes as a commit and pull changes back when someone edits the files.
Describe what you need and the assistant drafts tables, relationships and types in your diagram.
Let Claude, Cursor or any MCP client read your cloud schemas with an API key.
Every diagram saved and synced across your devices, never lost to a cleared browser.
Browse earlier versions, compare them, and restore any one.
Send anyone a view-only link to a diagram.
Your AI agent can
read your schema
The drawDB MCP server gives Claude, Cursor, Windsurf and other MCP clients read-only access to your diagrams: tables, columns, relationships and enums. No key yet? It can still browse the 100 example schemas.
{
"mcpServers": {
"drawdb": {
"command": "npx",
"args": ["-y", "@drawdb/mcp"],
"env": {
"DRAWDB_API_KEY": "ddb_your_key_here"
}
}
}
}Developers ship schemas
with drawDB
DrawDB is a robust and user-friendly database entity relationship editor right in your browser. Build diagrams with a few clicks, export SQL scripts, customize your editor, and more — without creating an account.
Si quieres mejorar en SQL, tienes que conocer esta herramienta: te ayuda a diseñar tu base de datos, genera el SQL, online, sencilla e intuitiva. Y es gratis y de código abierto.
发现一款免费、简单、直观的数据库设计工具和 SQL 生成器,叫做 DrawDB。用可视化的方式来设计你的数据库,简单拖动就能建立关系,支持导出成各种 SQL 版本。
طراحی دیتابیس یکی از مهمترین کارها در طراحی نرمافزاره. یک ریپو هست که میتونید کاملاً رایگان دیتابیس رو به صورت ویژوال طراحی کنید، export کنید و اجرا کنید.
Frequently asked
Yes. The editor is free and open source, runs in your browser and needs no account. Pro adds cloud storage, version history, GitHub Sync, the AI assistant and MCP, and team collaboration.
No. To import a live database you run one read-only query yourself and paste the result into drawDB. We never connect to your database and never see a password.
Solo ($14/month) is for one person: cloud storage, version history, sharing, GitHub Sync, the AI assistant and MCP. Team ($17 per seat per month) adds live collaboration, team management and per-diagram permissions.
Yes. Cancel from your account settings and you keep Pro until the end of the billing period. Your diagrams stay yours and can be exported as SQL, DBML or JSON at any time.
Yes. Sign up with your school email address and the discount on Solo is applied at checkout automatically.
Yes. The editor is open source: clone the GitHub repository and run it with Docker. Diagrams then stay in your browser on your own infrastructure. Pro features need drawdb.app.
See your schema today
No account needed. Import your database or open the editor and start drawing.
