# drawDB

> Free, simple, and intuitive database schema editor and SQL generator

Source: https://talira.ai/catalog/drawdb-cat92qsp
Every listing: https://talira.ai/catalog.md

- Kind: Open core
- Types: Web app
- Categories: [developer tools / database / schema design](https://talira.ai/categories/developer-tools/database/schema-design), [design / diagramming](https://talira.ai/categories/design/diagramming)
- Platforms: web, docker[^3][^5]
- Licence: AGPL-3.0-only[^6]
- Pricing: Free tier, from $14/month[^3][^4]
- Pricing notes: The editor is free. drawDB Pro: Solo $14 a month for one person; Team $17 per seat a month; student discount on Solo. The pricing page's plan table didn't load, so annual prices weren't read.
- Free tier: yes[^3][^4]
- Self-hostable: yes[^4][^5]
- Cloud hosted: yes[^3]
- MCP server: yes[^3][^8]
- Supports: [MCP](https://talira.ai/standards/mcp.md)[^3][^8]
- Backed by: [drawDB](https://talira.ai/orgs/drawdb.md)

drawDB is a browser-based editor for database entity relationship diagrams: you draw tables, relationships, subject areas and notes on a canvas, then export SQL for [MySQL](https://talira.ai/catalog/mysql-dy4scprm.md), [PostgreSQL](https://talira.ai/catalog/postgresql-cm55wcnd.md), [SQLite](https://talira.ai/catalog/sqlite-cys3nt23.md), MariaDB, SQL Server, Oracle or a generic dialect, or DBML, JSON or an image. It imports DDL, DBML or a live database's schema by having you run one read-only query and paste its result, so it never sees your credentials, and it flags issues such as missing primary keys. The editor needs no account and is open source under the AGPL; self-hosted, it keeps diagrams in the browser. drawDB Pro on drawdb.app adds cloud storage, version history, sharing, [GitHub](https://talira.ai/catalog/github-ppcgj756.md) sync, an AI assistant and a read-only MCP server (Solo), and live collaboration and permissions (Team).

## Links

- Website: https://drawdb.app/
- GitHub: https://github.com/drawdb-io/drawdb
- Docs: https://drawdb-io.github.io/docs
- Pricing: https://drawdb.app/pricing

## Ways to install

### On your own server

- [Proxmox VE Helper-Scripts](https://talira.ai/catalog/proxmox-ve-helper-scripts-3h36wtyj.md): <https://community-scripts.org/scripts/drawdb>[^1]

### Hosted for you

- [Railway](https://talira.ai/catalog/railway-mczwyt8g.md): <https://railway.com/deploy/drawdb-open-source-database-diagram-design-tool--drawdb>[^2]

## Problems it solves

- sketch a database schema visually and get the CREATE TABLE statements out of it
- a free dbdiagram.io alternative that doesn't need an account
- draw an ER diagram of our existing Postgres database without giving a tool our credentials
- turn a SQL dump's DDL into a diagram so I can understand a legacy schema
- convert a schema between MySQL and PostgreSQL syntax while designing it
- an open source ERD tool I can self-host for my team
- spot missing primary keys and duplicate names before I run a migration
- share a read-only link to our database diagram with the rest of the team
- let my AI coding agent read our database schema while it writes queries
- design a database together with a colleague in real time
- export a database diagram as an image for documentation
- keep a database design synced to a GitHub repository

## Features

- tables, relationships, subject areas and notes on an infinite canvas with auto-layout
- SQL for MySQL, PostgreSQL, SQLite, MariaDB, SQL Server, Oracle and a generic dialect
- import from DDL, DBML or a live database by pasting the result of one read-only query
- export SQL, DBML, JSON or an image
- views, enums and PostgreSQL composite types
- issue detection: duplicate names, missing primary keys and circular references
- 100 example schemas, keyboard shortcuts and presentation mode
- no account needed; the open source editor stores diagrams in the browser
- Pro: cloud storage, version history, public sharing, GitHub sync and an AI assistant
- Pro Team: live collaboration with shared cursors, team management and per-diagram permissions
- read-only MCP server (hosted at mcp.drawdb.app or @drawdb/mcp) for tables, columns, relationships and enums

## Ways to run it

### drawDB (drawdb.app)

Hosted by drawDB. Price: Free editor; Solo $14/month; Team $17/seat/month.[^3][^4]

Only in this edition:

- cloud storage and sync
- version history
- public sharing
- GitHub sync
- AI assistant
- MCP server
- Team: live collaboration, team management and per-diagram permissions

Pricing: https://drawdb.app/pricing

### drawDB self-hosted

You run it, AGPL-3.0-only. Price: free.[^4][^5][^6]

Not included:

- cloud storage and sync: the open source editor keeps diagrams in the browser's IndexedDB, so export them before clearing site data[^3][^7]
- Pro features (version history, public sharing, live collaboration, permissions, GitHub sync, the AI assistant and MCP), which need drawdb.app[^4]

You arrange:

- a Docker host or static web hosting
- the separate drawdb-server and its environment variables if you want sharing

Self-hosting docs: https://github.com/drawdb-io/drawdb/blob/main/README.md

## Capabilities

- Has an MCP server: plan not known

## Trust

Overall: 0.32 out of 1.
Signals: backing 0.30, extensibility 0.20.

- has a company behind it
- has an MCP server for agents

Warnings:

- GitHub activity not fetched yet

## Alternatives

- [ChartDB](https://talira.ai/catalog/chartdb-fcjk6fze.md): Database diagrams editor that allows you to visualize and design your DB with a single query
- [draw.io](https://talira.ai/catalog/draw-io-zqn3m3b0.md): Security-first diagramming for teams

## Sources

[^1]: https://github.com/community-scripts/ProxmoxVE/blob/main/ct/drawdb.sh (checked 21 Nov 2026)
[^2]: https://railway.com/deploy/drawdb-open-source-database-diagram-design-tool--drawdb (checked 20 Nov 2026)
[^3]: https://drawdb.app/ (checked 20 Nov 2026)
[^4]: https://drawdb.app/pricing (checked 20 Nov 2026)
[^5]: https://github.com/drawdb-io/drawdb/blob/main/README.md (checked 20 Nov 2026)
[^6]: https://github.com/drawdb-io/drawdb/blob/main/LICENSE (checked 20 Nov 2026)
[^7]: https://drawdb-io.github.io/docs (checked 20 Nov 2026)
[^8]: https://github.com/drawdb-io/drawdb-mcp/blob/main/README.md (checked 20 Nov 2026)
