DBridge CLI is here — convert, format, generate, and encode, all from your terminal. Learn more →

Free ToolNo signup · Runs in browser

SQL to Mermaid ER Diagram

Convert SQL schema to a Mermaid erDiagram

Converters
erDiagram
  users {
    serial id PK
    varchar email
    text name
  }
  posts {
    serial id PK
    int user_id
    text title
    text body
  }
  users ||--o{ posts : "user_id"

Paste the output into a ```mermaid code block in any GitHub README, GitLab issue, or Notion page to render the ER diagram.

Why use DBridge SQL to Mermaid?

Fast

Results appear instantly — everything runs in your browser.

Private & Secure

Your data never leaves your device. No account required.

Free Forever

No subscription, no sign-up, no paywalls.

Copy Anywhere

One-click copy for all outputs.

Frequently Asked Questions