AES Encryption Explained: How It Works and Why It Matters
Jun 23, 2026
Generate ER diagram code from SQL DDL — export as Mermaid.js, PlantUML, or Graphviz DOT
erDiagram
USERS ||--o{ ORDERS : "has"
USERS {
int id PK
string name
}
Tables
0
Relationships
0
Format
-
Lines
0
An Entity-Relationship Diagram (ERD) is a visual representation of database tables and their relationships. It shows entities as boxes, attributes as fields, and relationships as lines connecting foreign keys. Generated code can be used with Mermaid.js (renders in GitHub Markdown), PlantUML, or Graphviz.
The DB Schema Visualizer renders an interactive graphical diagram in your browser. This ERD Generator produces code in Mermaid, PlantUML, or DOT format that you can embed in Markdown, wikis, or documentation tools.
The parser supports MySQL, MariaDB, PostgreSQL, and SQLite CREATE TABLE statements, including PRIMARY KEY, FOREIGN KEY, AUTO_INCREMENT, and various column types and constraints.
Yes. GitHub natively renders Mermaid.js ERD diagrams in Markdown files. Simply paste the generated Mermaid code into a code block with the mermaid language tag.
No. All parsing and code generation happens locally in your browser. Your SQL schema never leaves your device.
PlantUML requires a PlantUML server or the PlantUML plugin for your IDE. Graphviz DOT can be rendered using the dot command-line tool or online Graphviz viewers.
Blog
Jun 23, 2026
Jun 23, 2026
Jun 23, 2026
Jun 23, 2026
Jun 23, 2026
Jun 23, 2026