Paste CREATE TABLE statements, get Mermaid erDiagram markup ready for GitHub, Notion, and Markdown.
Open the Mermaid / DBML Converter →Mermaid renders ER diagrams natively in GitHub, GitLab, Notion, and most static-site generators — but writing the syntax by hand is slow. Paste any number of CREATE TABLE statements and MetaDataLoop emits Mermaid erDiagram markup with column types, primary keys (PK), foreign keys (FK), and detected relationships drawn as ||--o{ etc.
CREATE TABLE users (
id INT PRIMARY KEY,
email VARCHAR(255)
);
CREATE TABLE orders (
id INT PRIMARY KEY,
user_id INT,
total DECIMAL(10,2),
FOREIGN KEY (user_id) REFERENCES users(id)
);
erDiagram
users ||--o{ orders : has
users {
int id PK
varchar email
}
orders {
int id PK
int user_id FK
decimal total
}
No signup, no install — runs entirely in your browser.
Open the Mermaid / DBML Converter →