drawDB is an online entity-relationship diagram editor that runs in your browser. You can design schemas, import live data, and export SQL without creating an account.
Overview
drawDB helps teams design and document database schemas through a visual editor in the browser. You build entity-relationship diagrams with tables, relationships, subject areas, and notes on a canvas, then generate SQL for common database engines.
The tool supports importing schemas from a live database by pasting the result of a read-only query you run yourself, so credentials never leave your machine. It can also bring in DDL or DBML and export SQL, DBML, JSON, or images. Built-in checks flag issues such as duplicate names, missing primary keys, and circular references before export.
SQL generation covers MySQL, PostgreSQL, SQLite, MariaDB, SQL Server, Oracle, and a generic dialect. Additional capabilities include SQL views from joins, enums and PostgreSQL composite types, keyboard shortcuts, and presentation mode for design reviews. Example schemas are available as starting points.
A paid tier adds cloud storage, version history, team collaboration, GitHub sync, an AI assistant, and an MCP server for read-only schema access from compatible clients. The editor can be run on your own infrastructure with Docker; paid cloud features use drawdb.app.
Key features
- Visual ERD editor in the browser
- SQL generation for seven dialects
- Import from live query, DDL, or DBML
- Schema issue detection before export
- SQL view builder
- Enums and PostgreSQL composite types
- Optional GitHub sync and MCP access
- Real-time team collaboration on Pro
Use cases
- Designing new database schemas visually
- Importing and documenting existing databases
- Exporting DDL for multiple SQL dialects
- Collaborative schema design reviews
- Sharing schema context with AI agents via MCP
Does the same job as
drawDB doesn't name these products itself, but its own description shows it does the same job.