SQL to Mermaid ER Diagram
Convert SQL schema to a Mermaid erDiagram
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.
Related Tools
Timestamp Converter
Unix timestamp ↔ human date
JSON → CSV
Export JSON arrays as CSV files
Markdown → HTML
Convert Markdown to HTML with live preview
Date Difference
Calculate the exact time between two dates
Timezone Converter
Convert times across timezones simultaneously
Number Base Converter
Convert between binary, octal, decimal, hex
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.