About DrawDB
drawDB is a free, open-source editor for database diagrams that runs in the browser. You draw tables, columns and relationships on a canvas, then export SQL for your database or import an existing script to visualize it. No account is needed. AGPL-3.0.
A self-hosted copy gives your team its own address on a domain you control, a version that changes only when you update it, and access on networks that block outside tools. The app is static, so the smallest CloudSat plan serves it.
After deploy the web app answers on port 3000, and diagrams are kept in each visitor's browser.
What you get with DrawDB
- Drag-and-drop tables, fields and relationships
- SQL export for several database systems
- Import from existing SQL scripts
- Migration generation
- No account required
DrawDB use cases
- Designing a schema before writing migrations
- Documenting a legacy database from its SQL dump
- Reviewing data models together in a workshop
After you deploy DrawDB
- Browse to http://<server IP>:3000 right after the deploy completes.
- Start a new diagram, or import an SQL script to visualize an existing schema.
- Diagrams live in the browser that made them, so export important work regularly.
- Add a domain with HTTPS for a tidy team address, and limit access in the CloudSat firewall if the tool is internal.
DrawDB ports
Open these in your firewall if you use one: 3000/tcp Web app (container port 80).
DrawDB FAQ
Are my diagrams stored on the server?
No. The app runs in the browser and keeps diagrams there, without accounts. Sharing files between people needs drawDB's optional companion server.
Which databases can it export to?
drawDB generates SQL for common systems, including PostgreSQL, MySQL, MariaDB, SQLite and SQL Server.
Disclaimer. The DrawDB project has no affiliation with CloudSat and does not endorse it. Names and logos belong to their owners and appear only to identify the software.