Skip to tool

Categories

Developer & data / 55 related tools

ER Diagram to SQL Converter

Turn a Mermaid erDiagram into runnable CREATE TABLE statements for PostgreSQL, MySQL or SQLite, with primary keys, foreign keys and junction tables for many-to-many.

Runs in this tab

ER Diagram to SQL Converter

Turn a Mermaid erDiagram into runnable CREATE TABLE statements for PostgreSQL, MySQL or SQLite, with primary keys, foreign keys and junction tables for many-to-many.

Reads Mermaid erDiagram syntax. An entity with no attribute block has no columns to create, and a foreign key is written only when the entity it points at declares a single primary key — anything skipped is listed in a comment at the end rather than guessed.