dbdiagram.io vs Azimutt, which database tool is right for you?
Looking for a dbdiagram.io alternative? Or just shopping around for an Entity-Relationship Diagramming tool (ERD) to design your database schema or explore an existing database?
Azimutt and dbdiagram.io are two great tools, but also with vast differences. Let's dive onto the product similarities and differences to find out which one suits you best.
Entity-Relationship Diagrams (ERDs) are visual representations of your entities and relations (thanks captain obvious ^^). In relational databases they represent tables with their columns as entities and foreign keys as relations. Some tools are specialized in ERDs for databases and can have more specialized content like primary keys, indexes, constraints and more.
Visual tools and diagrams can be crucial to simplify things, especially in high complexity environment like databases, and better understand and communicate the real situation. It's not rare to have unidentified issues until you are able to get a good visualization and understanding of the situation. They sometimes may look like a distraction, but it's often a good investment in improved understanding and collaboration.
dbdiagram.io and Azimutt are among the best choices in this domain. Let's have a quick look at what they offer before diving into more details.
dbdiagram.io | Azimutt | |
---|---|---|
Visual schema exploration | ✅ Yes | ✅ Yes |
DSL for Database Design | ✅ Yes | ✅ Yes |
Schema documentation | ✅ Yes | ✅ Yes |
Database sync | ✅ Yes, but overrides changes | ✅ Yes |
Collaboration | ✅ Yes (realtime) | ✅ Yes (not realtime) |
Version history | ✅ Yes | ❌ No |
Scaling | ⚠️ Harder to use with >50 tables | ✅ Handles >1000 tables without issue |
Multi-layouts | ❌ No, all tables are displayed | ✅ Yes, each layout has chosen tables/columns |
Multi-sources | ❌ No, everything is in the same DBML | ✅ Yes, visualize several databases at once |
Database queries | ❌ No | ✅ Yes |
Visual data exploration | ❌ No | ✅ Yes |
Database linter | ❌ No | ✅ Yes |
API access | ❌ No | ✅ Yes |
Embed | ✅ Yes | ✅ Yes |
Export | ✅ Yes: PDF, PNG | ✅ Yes: JSON, SQL, AML |
On-Premise | ✅ Yes | ✅ Yes |
Open-Source | ❌ No | ✅ Yes |
Personal plan | $14/month | 9€/month |
About dbdiagram.io #
dbdiagram.io is an online Entity-Relationship Diagram using DBML to define the database schema. It makes schema definition very pleasant as it can be generated easily, copy/pasted and even versioned. It's made by holistics.io, a Singapore-based business intelligence product company, as an internal tool that was shared publicly.
About Azimutt #
Azimutt is a full database toolset which started as a visual database exploration tool for large databases (>1000 tables). You can see it as the Notion for the databases ^^ Like dbdiagram.io, it allows database design using AML, but it also provides many other features to understand, document, maintain and improve real-world databases. It started at Doctolib, a French healthcare unicorn, with Principal Engineers needing to quickly understand the huge data model; it's now independent to speed its growth.
Pricing #
dbdiagram.io
dbdiagram.io has a Free plan but your work will be public.
The Personal plan is at $14/month and the Team plan at $60/month for 3 users.
Azimutt
Azimutt is Open-Source under MIT license
with the code available on GitHub (give us a star 😉).
You can host it and use it on your own, use the Free plan of the online version or buy a license either for Cloud or On-Premise installation, depending on your requirements.
The Solo plan is at 9€/month and the Team plan at 42€/user/month, more details on the pricing page.
Similar features #
First, and obviously, they are both Entity-Relationship Diagram tools allowing you to design or import your database schema and visualize it. They are both online tools requiring no installation and both share a very pleasant UX.
No required signup #
May look trivial but very appreciable when you want to try out a new tool 😉
Import from existing database #
dbdiagram.io and Azimutt can import your existing database schema to visualize it. But they do it very differently. dbdiagram.io converts your database schema into DBML that you will have to paste in their editor. Azimutt can directly connect to your database and import its schema but also inner usage statistics, or import a SQL dump.
A DSL for Database Design #
dbdiagram.io and Azimutt both have a specific language to design your database schema. This is quite rare in the ERD space, but it makes database design fast and pleasant. It unlocks all the features we love when writing code: copy/paste, find/replace, column editing, versioning... only limited by your typing speed 😎
dbdiagram.io uses DBML, here is how it looks:
// DBML from dbdiagram.io
Table users {
id uuid [primary key]
name varchar [not null]
email varchar [not null, unique]
created_at timestamp [default: `now()`]
indexes {
name
}
}
Table posts {
id uuid [primary key]
status post_status [not null]
title varchar [not null]
content text [note: 'Supports markdown']
author uuid [ref: > users.id]
created_at timestamp [default: `now()`]
deleted_at timestamp
Note: 'All posts'
}
enum post_status {
draft
public
}
Azimutt uses AML, here is how it looks:
# AML from Azimutt
users
id uuid pk
name varchar index
email varchar unique
created_at timestamp=`now()`
posts | All posts
id uuid pk
status post_status(draft, public)
title varchar
content text | Supports markdown
author uuid -> users(id)
created_at timestamp=`now()`
deleted_at timestamp nullable
Try in Azimutt
Both languages are Open Source and available as standalone libraries (DBML, AML), you can use them in your own projects if you want. Check our full comparison.
Different features #
Multi-layouts #
This one is very specific to Azimutt among all the ERDs, making it scale to any database size. Instead of displaying THE database schema with all the tables, Azimutt has layouts where you can choose which tables and columns to show, giving you a view of your database schema. Moving from a single view to several ones makes diagrams understandable for any size of database.
Multi-sources #
Another specificity of Azimutt... Instead of having a single database schema, Azimutt has several sources that are merged to build your explorable schema. Sources can be of many types: database connection, SQL file, AML code or even Prisma schema or JSON, and can be activated or not. You can add several databases (if you use microservices) and choose which ones to enable or even refresh, create some AML sources to design new features and delete them once added to a database...
Database access #
Azimutt is not only an ERD tool but a complete and evolving toolset to work with your database. With Azimutt, you can explore your database schema but also your database content. It extracts and shows database statistics to give you a quick overview of tables and columns content and size. It also let you query your database to perform any investigation or analysis, and even provide an AI assistant to create or improve your queries 🪄 Finally, you can navigate in your data like in your schema, following foreign keys or looking at incoming relations for any table row, even in a cross-database setup 🤯
Database linter #
Visualizing your database is great. But know what's better? Continually improving it!
Azimutt integrates a linter showing you schema issues like missing primary and foreign keys, inconsistent naming or even duplicated indexes.
But if you connected your database, it has much more data to analyze like common values in columns or historical queries can can do much more advanced suggestions like empty or badly typed columns, slow or inefficient queries and even unused tables or indexes.
These checks are surely not as smart as you, but they steadily evolve and are performed at your database scale, which can be tricky for a human when there is >100 tables.
dbdiagram.io uniques features #
Of course, dbdiagram.io also has some unique features that you should take into account in your choice to see which one fits best:
- Realtime collaboration: ideal to work at the same time, in Azimutt if two people edit the same thing at the same time, they will have a conflict and the latest won't be able to save its work
- Diagram versioning: great to keep your project timeline, in Azimutt you can export your full project as JSON or just your AML and version it in git with your code, definitely less friendly
- PDF/PNG export: useful to make your work accessible elsewhere, in Azimutt you can of course take a screenshot of your diagram, but it will miss resolution on large zoom out
Conclusion #
Bottom line, which one is the best database visualization tool for you?
As seen, dbdiagram.io and Azimutt share a lot of similarities with a DSL first approach to design or explore your database.
The biggest differences are obviously the multi-sources & multi-layouts capabilities of Azimutt, and its database querying and suggestions features.
Beyond personal preference, totally up to you, if you have a rather simple project or really need realtime collaboration, dbdiagram.io is probably your best option.
But if you have a bigger project, let's say above 50 tables, you will probably be more comfortable with Azimutt multi-layouts capability.
And if you want to keep your layout sync with your database and access your data, then Azimutt is here for you.
With all this, we believe Azimutt is a great alternative to dbdiagram.io, even for simple projects. In either way, you can give a try to both of them, you don't even need to create an account. And all Azimutt paid plans have a 2-week free trial to try advanced features!
If you need inspiration, you can have a look at the Azimutt Gallery for simple or complex projects, built for it or from popular projects; or check our complex e-commerce demo with 85 tables over 9 databases.