pgModeler designs PostgreSQL schemas visually and generates SQL from models. A free Community edition covers modeling; a paid Plus tier adds reverse engineering and sync.
Overview
pgModeler is built around PostgreSQL features so visual models map closely to production schemas. You create and edit tables, views, relationships, functions, operators, and other PostgreSQL objects through a native desktop interface implemented with C++ and Qt.
The open Community edition focuses on forward modeling, SQL script generation, validation, and consistency checks before deployment. Generated scripts aim to preserve advanced PostgreSQL object definitions rather than generic lowest-common-denominator DDL.
pgModeler Plus adds reverse engineering from live servers, diff and synchronization scripts, integrated SQL execution, data browsing, and tooling aimed at DBAs and consultants. Revenue from Plus supports ongoing development of the shared platform.
The application runs locally on Linux, Windows, and macOS with optional command-line utilities for import, export, and automation in professional workflows. Models are kept in open files on disk without mandatory cloud services.
Key features
- Drag-and-drop PostgreSQL schema modeling
- SQL generation from visual models
- Model validation and consistency checks
- Multi-scene canvases for large databases
- Community and Plus edition split
- CLI tools for import and automation
- Orthogonal relationship line routing
- Temporal key support for PostgreSQL 18
Use cases
- Designing new PostgreSQL databases
- Teaching database structure
- Schema documentation and SQL export
- Comparing models in Plus editions
- Managing very large ERD layouts
Does the same job as
pgModeler doesn't name these products itself, but its own description shows it does the same job.