Developer

SQL CREATE TABLE to ER Diagram

Read common PostgreSQL / MySQL CREATE TABLE statements, inspect foreign keys and export an SVG diagram.

Local processing
SQL CREATE TABLE to ER Diagram

Input is processed locally in this tab, without automatic saving. Export only data you intend to share.

Scope and usage

What is supported?

Common CREATE TABLE syntax, inline and table-level primary/foreign keys, including composite keys. ALTER TABLE and other statements are reported as unsupported. This does not execute SQL or prove SQL validity. Maximum 60 tables and 1 MiB input.

Is input saved?

Input is processed locally in this tab, without automatic saving. Export only data you intend to share.