drawDB
Draw a database's tables and the links between them in your browser, then turn the drawing into SQL code.
- Coding needed
- No
- Cost
- Free
- Runs on
- Web browser, Server
- Computer
- An ordinary computer is fine
Draw a database's tables and the links between them in your browser, then turn the drawing into SQL code.
drawDB is a free editor for database diagrams that runs in your web browser. You draw the tables a database will have, their columns, and how they link to each other. This kind of drawing is called an entity relationship diagram.
It can turn a diagram into SQL scripts (the code that creates the database), import existing SQL to draw it, and generate migrations (step-by-step changes from one version of a database to the next). Its makers say no account is needed.
It can also be run on your own server with Docker. Sharing diagrams needs an extra server that is set up separately.
drawDB's makers run an MCP server (a standard plug that lets AI assistants use other software) that gives AI agents read-only access to your saved drawDB diagrams, so they can look up tables, columns and links while helping write queries or code. It needs an API key from your drawDB profile; without one, only the public example schemas are available.
Source: the makers' documentation on this integration.
Developers, students and anyone planning a database who wants to sketch its structure visually.
Yes. You can use it straight away in a web browser without creating an account. New to this? Start here.
Using Claude Code, Cursor or another AI coding assistant? Paste the prompt and it will walk you through the setup.New to this?