About dbdiagram.io
dbdiagram.io is an online tool for drawing entity relationship diagrams by writing DBML, an open source schema language from the same company. You type code and the diagram appears as you go, and the same plan covers dbdocs, which publishes database documentation as code, and a SQL playground called RunSQL. The pricing page lists a Free plan for up to 10 diagrams and doc projects with a single editor, SQL import and export, PDF, PNG and SVG export and public sharing. Personal Pro is $8 per month with unlimited diagrams, password protected sharing and limited collaboration, and Team is $75 per month with three editors, a collaborative workspace and a 7 day free trial. Annual billing saves up to 42 percent, and students, teachers and researchers can get Personal Pro free for 12 months. dbdiagram.io suits developers and analysts who prefer a text first workflow with version controlled schemas and a CLI for CI pipelines.
Key Features
- DBML to ER diagram
- SQL import and export
- Database docs as code
- CLI for CI pipelines
Pros & Cons
What we like
- Free plan available
- Text first, easy to version
- Free Personal Pro for education
- Embeds diagrams and docs
Room for improvement
- Free plan limited to 10 diagrams
- Team plan is $75 per month
- Collaboration is limited below Team
- Requires learning DBML
Frequently Asked Questions
What is dbdiagram.io?
dbdiagram.io is a tool that draws database diagrams from DBML code.
How much does dbdiagram.io cost?
Free is $0, Personal Pro is $8 per month and Team is $75 per month, as of November 2026.
Who is dbdiagram.io best for?
Developers and analysts who like writing schemas as code.
Best For
Designing a schema from codePublishing database docsTeaching data modelingDocumenting data pipelines
Featured in
Alternatives to dbdiagram.io
Reviews (0)
Badge builder
Add dbdiagram.io to your website
Choose a badge style and size, preview it here, then copy the generated HTML. Badge images are self-contained SVGs and do not require an external script.
<a href="https://toolindex.net/tools/dbdiagram?ref=badge" target="_blank" rel="noopener">
<img src="https://toolindex.net/badge/dbdiagram/medium.svg" alt="dbdiagram.io - Listed on Tool Index" width="180" height="50" />
</a> How to use the badge
- 1. Pick the style, size, and theme that fit your layout.
- 2. Copy the generated HTML from the code block.
- 3. Paste it into your footer, homepage, or press page.
Standard badge available
The standard listing badge is available now. Score and circle badges are limited to tools currently ranked in the top 10 of a category.
Badge clicks return visitors to this profile with a referral tag so the source remains identifiable.
Related Tools

Coolify
Self-hostable, open source alternative to Heroku and Netlify
Open Source
View

Warp
The modern terminal reimagined with AI and collaboration
Freemium
View

Bolt.new
Prompt-to-deployed full-stack app inside the browser
Freemium
View

Supabase
The open source Firebase alternative
Open Source
View
Work on dbdiagram.io? Request listing access or correction