About DrawDB
DrawDB — open-source online database diagram editor (a retro). It was shared on Show HN in 2025 and received 263 upvotes on Hacker News. Free online database schema design tool. Draw ER diagrams, generate SQL for PostgreSQL, MySQL, SQLite, SQL Server & Oracle, and collaborate in real time. drawDB - Online Database Schema Design & ER Diagram Tool Features Examples Editor Pricing Docs 37.1k Sign in open source · no account needed Think it. Try it for yourself Learn more Diagram SQL DBML Diff Live Export Alex Priya Jordan Sam Maria open source Backed by people who care about tooling drawDB is, and stays, free and open source. Sponsor drawDB Help keep it independent and moving fast. Sponsor on GitHub Trusted by 38.0k+ developers drawDB speaks every major dialect — design once, then generate clean DDL for the database you actually ship on. Real-time collaboration Design together live — shared cursors, presence, and instant sync across your whole team. AI schema assistant Describe what you need and let AI draft tables, relationships, and types for you. Generate migrations Version your diagram and generate migration scripts to update your database. Issue detection Catch errors in the diagram so the generated scripts are always correct. Templates Start from pre-built templates for a quick start or fresh inspiration. self-hosted Run it on your own infrastructure drawDB is fully open source. Clone the repo, bring it up with Docker, and keep every diagram behind your own firewall — no vendor lock-in, no data leaving your network. MA Mehdi Allahyari @MehdiAllahyari questions Frequently asked Is drawDB free? drawDB is free and open source — the full editor runs in your browser with no account required. In the free editor, diagrams are stored locally in your browser (IndexedDB), so back them up before clearing your browser. With drawDB Pro, your diagrams sync to the cloud and across your team. You only sign in if you want Pro features like cloud sync, sharing, and team collaboration.