What is DB Planner?
DB Planner is a free online database diagram and ER diagram tool for teams. It draws interactive entity relationship diagrams from DBML or imported SQL, plus Mermaid class diagrams and flowcharts, on one shared board your whole team can edit in real time.
Is DB Planner an ER diagram tool?
Yes. Every schema renders as an ER diagram: tables as cards with typed columns and primary and foreign key badges, and relationships as lines between the exact columns, with crow’s foot markers for the "many" side. The diagram is drawn from the schema text, so it always matches the schema.
Can I use DB Planner online without installing anything?
Yes. DB Planner runs in the browser at console.dbplanner.io, so there is nothing to download or install. Sign in, create a project, and start a diagram. The Free plan needs no card.
What is DBML?
DBML (Database Markup Language) is a simple, human-readable language for defining database schemas: tables, columns, types, relationships, and enums. It is easy to write by hand and easy to review in version control.
How is DB Planner different from dbdiagram.io?
DB Planner supports modular schemas split across multiple DBML files, with references resolving between them automatically, exports C# models as well as SQL and DBML, and attaches markdown notes to individual columns. Real-time collaboration is included in organizations at $5 per seat rather than sold as a premium tier.
Does DB Planner work with PostgreSQL, MySQL, and SQL Server?
Yes. It imports schema dumps from PostgreSQL, MySQL, and SQL Server (MSSQL), detects the dialect automatically, converts the DDL to DBML, and draws the ER diagram. It exports SQL for the same three databases.
Can several people edit the same diagram at once?
Yes. The board is shared and syncs in real time, so everyone signed in sees the same tables, layout, and notes as they change.
Can I split a large schema across multiple files?
Yes, and you do not need import lines to do it. Every DBML document in a project is resolved together, so tables and enums can reference each other between files straight away. Files that already contain use * from './file' lines, for example ones pasted from dbdiagram.io, still work: those lines are recognized and ignored.
Do I need to write DBML by hand?
No. You can start by importing an existing SQL schema, then refine it in the built-in editor with syntax highlighting, bracket matching, and in-editor find, or keep editing visually on the board.
Can DB Planner generate C# models from my schema?
Yes, on Pro. Export any schema as C# classes, with Entity Framework annotations or as plain POCOs, with naming and namespace options. You can also export SQL for PostgreSQL, MySQL, or SQL Server with per-dialect type-compatibility warnings, or plain DBML.
How much does DB Planner cost?
The Free plan includes one project with ten documents, whether those are database schemas or diagrams, and DBML, Mermaid, and SQL exports, with ads. Pro is $5 per month after a 7-day free trial (card required, cancel before day 7 and you are not charged) and unlocks unlimited projects and files, every export including C# models and board images, live shared boards, AI agent edits over MCP, version history and no ads, plus the ability to create organizations. Organization seats cost $5 per additional member per month, the owner's seat is free while Pro is active, and members do not need a plan of their own.
How do I get started?
Open the app at console.dbplanner.io, sign in, and create a project. Paste a SQL dump or write a few lines of DBML and the diagram appears immediately.