Only declared relationships appear
Foreign-key clauses produce relationship lines. Similar names such as user_id never create an inferred edge.
Generate Mermaid erDiagram text from the narrow CREATE TABLE model without querying a catalog.
Inputs stay in this browser tab. Parser-heavy work uses a tighter 256 KiB safety cap.
No result is placed in a URL, account, API, or remote log.
Bounded, explicit-dialect processing
The diagram reflects only pasted declarations accepted by the converter. It does not infer relationships from naming conventions or inspect indexes and live constraints.
Foreign-key clauses produce relationship lines. Similar names such as user_id never create an inferred edge.
Names are converted to safe Mermaid identifiers while the source DDL remains unchanged.
The parser runs locally under byte, statement, AST-node, depth, row, column, diagnostic, and output limits. It never connects to a database or resolves files and URLs.