
drawDB
FreemiumOpen-source database schema designer for ER diagrams, SQL generation, reverse engineering, and team collaboration.

About drawDB
drawDB is a free, open-source browser-based database schema designer for building entity-relationship diagrams and generating SQL. It supports MySQL, PostgreSQL, SQLite, MariaDB, SQL Server, Oracle, and a generic dialect, with DDL import and export to SQL, DBML, JSON, or images.
The editor works without an account and stores free-editor diagrams locally in the browser. Pro adds cloud sync, sharing, teams, access controls, and real-time collaboration. An AI schema assistant can draft tables, relationships, and types from a natural-language description.
Key Features
- Visual database schema and ER diagram editor
- SQL DDL generation for MySQL, PostgreSQL, SQLite, MariaDB, SQL Server, Oracle, and a generic dialect
- DDL import and reverse engineering from existing database scripts
- Export to SQL, DBML, JSON, or image formats
- AI schema assistant for drafting tables, relationships, and data types
- Real-time collaboration with shared cursors, presence, and synchronized editing
- Self-hosting with Docker on a user's own infrastructure
Use Cases
- Designing relational database schemas visually
- Generating database-specific SQL from diagrams
- Reverse-engineering existing DDL into editable diagrams
- Drafting initial schemas with AI assistance
- Reviewing and presenting database designs
- Collaborating on schemas with teams and access controls
- Self-hosting database design work behind an organization's firewall
Pricing
Freemium- Free Plan
- $0
- Unlimited local diagrams
- Paid Plans From
- $12.00 USD/month
- Tax Inc, billed yearly, Saves ~2 monthsSolo Pro, regular price
Popular: Team Pro, $14.00 Tax Inc per user per month, billed yearly.
Pricing checked:
Official Pricing (opens in a new tab)Frequently Asked Questions
Yes. The editor is free and open source, and it can be used without an account. Pro adds cloud storage, teams, sharing, and real-time collaboration.
No. You can open the editor and start drawing immediately. An account is needed for Pro features such as cloud sync, sharing, and team collaboration.
Free-editor diagrams are stored locally in the browser using IndexedDB. They should be backed up before clearing browser data.
drawDB supports MySQL, PostgreSQL, SQLite, MariaDB, SQL Server, Oracle, and a generic dialect.
Yes. You can paste or upload a DDL script, and drawDB reverse-engineers it into a diagram.
Diagrams can be exported as SQL, DBML, JSON, or an image, depending on the workflow and selected format.
Yes. Its AI schema assistant can draft tables, relationships, and types from a description. Generated designs should be reviewed before implementation.
Real-time collaboration, cloud synchronization, sharing, teams, and access controls are available through Pro.
Yes. The open-source project can be cloned and run with Docker on your own infrastructure.
Discover your next favorite AI tool
Get handpicked AI tools, fresh launches, and practical insights delivered to your inbox.