Introduction to Dbdiagram.io
What is dbdiagram.io?
dbdiagram.io is a free, simple tool to draw database diagrams (ERDs) by typing DSL code. dbdiagram uses the popular DBML (Database Markup Language).
How to use it?
You will see an example DB diagram after clicking the Create your diagram button.
-
On the left, dbdiagram.io uses DBML to define the database and create the corresponding diagram.
-
You can use the export tool on the top to
- save diagram into PDF/PNG
- generate SQL codes
-
Also, it can draw the diagram for your existing database. You can do it by importing with SQL.