PgDesigner
New Now open source under Apache-2.0 →

Visual PostgreSQL Schema Designer

Visual ERD diagrams, DDL generation, schema diff & safe ALTER migrations for PostgreSQL.

$ brew install vmkteam/tap/pgdesigner
630+ tables tested
99.7% fidelity
69 lint rules
Free Apache-2.0
PgDesigner — ERD diagram of chinook database

Visual ERD, DDL Generator, Schema Diff & Lint

PG-specialized. Git-friendly format. Diff/ALTER engine with hazard detection. Visual editor. All four free and open source.

Visual ERD Canvas

See your entire schema at a glance. Drag, zoom, auto-layout. Tested on 120+ tables with smooth performance.

Generate SQL

Production-ready DDL from your model. 19-step dependency order. 99.7% round-trip fidelity on 630+ tables.

Diff & ALTER Engine

Two schemas in, safe migration out. 10 hazard codes, including DELETES_DATA, TABLE_REWRITE and BACKFILL_REQUIRED.

69 Lint Rules

Catch FK mismatches, missing indexes, naming issues, antipatterns. 15 rules with autofix.

Sample Data Generator

Populate your database in one command. FK- and CHECK-aware, 30+ name heuristics, reproducible with seed.

Import Anything

PDD, DBS, DM2, SQL, live PostgreSQL. Migrate from any tool in minutes.

Git-Friendly Format

.pgd XML optimized for clean single-line diffs. Review schema changes in pull requests like code.

PG18 Full Spec

Partitions, temporal constraints, virtual generated columns, IDENTITY. 70+ data types.

CLI for CI/CD

pgdesigner lint, diff, generate, testdata, merge in your pipeline. Zero dependencies, single binary.

Try it right now

Explore a real database schema in your browser. No download, no signup — just click and see.

No signup required
5 sample schemas included
Read-only — safe to explore

How PgDesigner Compares

PG specialization, a git-friendly format, a diff engine with hazard detection, and a visual editor — with no paid edition.

Feature comparison: PgDesigner vs pgModeler, DrawDB, and Atlas
Feature PgDesigner pgModeler DrawDB Atlas
PG-specialized ✓ Yes — —
Git-friendly format ✓ Plus (split model) — Yes
Diff/ALTER engine ✓ Plus Basic Yes
Hazard detection ✓ — — Pro (migration lint)
Schema lint 69 rules Model validation — Pro (migration lint)
Sample data generator ✓ — — —
Visual ERD ✓ Yes Yes Pro (cloud)
Price (individual) Free (Apache-2.0) Plus from $65.90 / 6 mo Free Pro $9/dev/mo

Free and open source.

Apache-2.0 — every feature, for any use, including commercial.

Try Live Demo Download Free