SQL to ER Diagram
Home › Mermaid to ERD

Mermaid to ERD

Paste a Mermaid erDiagram and turn the text into a fully interactive ERD — drag tables, auto-arrange, and export to image, DBML or PlantUML.

Open the diagram tool →
No signup · nothing uploaded · export PNG / SVG / Mermaid / DBML · shareable link

How it works

  1. Copy your Mermaid erDiagram.
  2. Paste it into the editor — Mermaid is auto-detected.
  3. Entities become draggable tables; relationships are drawn with cardinality.
  4. Arrange, then export PNG/SVG or convert to DBML/PlantUML.

Example

A Mermaid erDiagram like this:

erDiagram
  CUSTOMER ||--o{ ORDER : places
  CUSTOMER {
    int id PK
    string name
  }
  ORDER {
    int id PK
    int customer_id FK
  }

…becomes an interactive ERD with CUSTOMER linked to ORDER. Try it with your own →

Why use it

MermaidDBMLPlantUMLPNG / SVG

FAQ

How do I turn Mermaid text into a diagram I can edit?

Paste the Mermaid erDiagram here — it renders as draggable tables you can arrange, then export as an image or convert to DBML/PlantUML.

Is my schema uploaded anywhere?

No. Everything runs locally in your browser — your schema is never uploaded to or stored on any server.

Is it free?

Yes. It is completely free and open source, with no account or sign-up required.

Related