Should I format a long SQL schema before inspecting relationships?
SQL Formatter can make a long schema easier to read. This mapper extracts relationships from supported PostgreSQL CREATE TABLE syntax for local visual review.
Runs in your browser. No file uploads for processing.
Turn PostgreSQL CREATE TABLE text into a key relationship map, compare two definitions and export a Mermaid diagram without connecting to a database.
Loading tool...
Paste supported definitions into Baseline. For a comparison, paste another full set into Candidate. The example maps customers, orders and shipments.
See columns, types, nullable flags, primary keys and inline or table-level foreign keys. Review omissions before using the diff.
Switch between the baseline and candidate diagram, then download Mermaid source or copy it for documentation.
The tool processes inputs in your browser. Account features and usage analytics are separate.
SQL Formatter can make a long schema easier to read. This mapper extracts relationships from supported PostgreSQL CREATE TABLE syntax for local visual review.
No. It analyzes pasted text inside your browser, does not connect to a database, and does not generate or apply a migration.
It reports added and removed tables and columns, changes to column types and nullability, primary key changes, and detected foreign key changes.
Not completely. The tool reads a bounded CREATE TABLE subset, reports skipped statements and unsupported options, and does not infer later ALTER TABLE changes.
Yes. Download a Mermaid source file for the selected schema or copy it to your clipboard.