
drawDB
Browser-based database schema design and SQL generation
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.
DrawSQL by DrawSQL is a commercial product. These open-source projects say they can replace it.
The most popular open-source alternative to DrawSQL is drawDB, with 40.5k GitHub stars. Other open-source alternatives to DrawSQL are pgModeler. Most DrawSQL alternatives here are Databases tools. None of these projects names DrawSQL itself, but each does the same job; its own description is shown under it.
Stars and activity updated 27 November 2026.
These projects don't call themselves a DrawSQL alternative, but two independent checks of their own description found they do the same main job.

Browser-based database schema design and SQL generation
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.
“Free online database schema design tool. Draw ER diagrams, generate SQL for PostgreSQL, MySQL, SQLite, SQL Server & Oracle, and collaborate in real time.”

PostgreSQL-first visual database modeling application
pgModeler designs PostgreSQL schemas visually and generates SQL from models. A free Community edition covers modeling; a paid Plus tier adds reverse engineering and sync.
“Open-source data modeling tool designed for PostgreSQL. No more typing DDL commands. Let pgModeler do the work for you!”
Yes. 2 open-source projects can replace DrawSQL, for example drawDB and pgModeler. They do the same job as DrawSQL, as their own documentation describes.
drawDB (40.5k GitHub stars) is the most popular open-source alternative to DrawSQL on GitHub. pgModeler has the most recent code changes. The best choice depends on your needs: compare them side by side, for example drawDB vs pgModeler.
All of the 2 projects listed here are free to use under an open-source license, with no license fee: all copyleft (such as AGPL-3.0). Running software on your own server still costs hosting and upkeep, and many projects also sell a hosted version.