drawdb

A free browser-based editor for database diagrams that generates SQL. You draw tables and relationships and export the schema for common databases.

Share on XLicense: AGPL-3.0

Overview

drawDB is a free database diagram editor that runs in the browser. You build entity relationship diagrams with a few clicks, import and export SQL scripts, generate migrations and customize the editor, all without creating an account. It can be run locally with npm or in Docker. Sharing diagrams is optional and needs a separate drawdb-server and an environment variable for its URL.

Key features

  • Visual ER diagram editor in the browser
  • SQL script import and export
  • Migration generation
  • No account required
  • Local run with npm or Docker, optional sharing server

Best for

Developers and students who want to sketch a schema and get SQL quickly without installing a desktop tool. It is licensed under AGPL-3.0.

Upstream
drawdb-io/drawdb
Fork on GitHub
Guo-astro/drawdb
Upstream stars
40k
Category
Developer tools and infrastructure
Language
JavaScript
License
AGPL-3.0
Forked
2026-09-28
Sync status
In syncLast synced 2026-09-29