Free · Plan tables and relationships

ER Diagram Maker

Turn database tables, fields, and links into a clear entity-relationship diagram.

  • Live preview
  • Private in your browser
  • SVG and PNG downloads

Plan tables and relationships

Edit the words on the left. The finished diagram appears on the right.

Look
Diagram code26 lines · 25 steps

Tip: press Ctrl or Command + Enter to draw now.

PreviewDrawing starter diagram
Drawing your diagram

Three simple steps

How to use it

  1. Add one entity for each table and list its key fields.
  2. Mark primary keys with PK and foreign keys with FK.
  3. Connect the tables and check whether each side has one or many rows.

Your diagram stays on this device

Mermaid draws the diagram inside this browser tab. Bookify does not upload or save your code or diagram. Close the tab and the working copy is gone.