PostgreSQL SQL Formatter
Format PostgreSQL queries with dialect-aware keyword handling. Runs entirely in your browser.
Indent
Case
Input
Formatted OutputWaiting…
Key Differences
- •Supports DISTINCT ON, JSONB operators, and :: type casts.
- •Preserves generated always columns and partitioning DDL.
- •Double-quoted identifiers retained.
Advertisement