Get started with drawDB
Learn how to create database diagrams, model tables and relationships, import SQL, and export schemas with drawDB.
drawDB is a free, open-source database diagram editor. Use it to visualize a schema, reverse engineer SQL, model relationships, and export your work without installing a desktop application.
Create your first diagram
Choose a database, define tables, and connect them with foreign-key relationships.
Customize the editor
Adjust the canvas, visible field details, grid, labels, and presentation controls.
Share a diagram
Create a snapshot link or configure an embeddable view of an OSS diagram.
Use drawDB Pro
Sync diagrams to the cloud, work with teams, use AI, and connect an MCP client.
Open the editor
Start diagramming in your browser.
What you can model
drawDB supports Generic, MySQL, PostgreSQL, SQLite, MariaDB, Microsoft SQL Server, and Oracle SQL (Beta) diagrams. Database-specific diagrams expose the types and capabilities of their selected dialect, while Generic diagrams are designed for portability.
Where your work is stored
In the open-source editor, diagrams and custom templates are stored locally in your browser using IndexedDB. Export important diagrams before clearing site data or moving to another browser.
OSS documentation
The core editor pages describe the open-source drawDB experience. See the drawDB Pro guides for accounts, cloud storage, teams, permissions, live collaboration, AI, API keys, and MCP.
Continue learning
General settings
Configure autosave, table width, language, local data, and custom datatype aliases.
Keyboard shortcuts
Work faster with save, import, editing, canvas, and view shortcuts.
Templates
Start from built-in examples or save reusable templates in your browser.
How drawDB works
Understand the canvas, local persistence, imports, exports, and internationalization.