PgSanity
github.com · checked 4 Oct 2026
How it plugs in
—Public API
NoOpen source
YesFree tier
Signal on SQL Linters and Formatters5.8#17 of 26
PgSanity checks the syntax of PostgreSQL SQL files.

Pricing
- FreeOpen-source Python package · requires Python ≥3.9 and ecpgFree
As github.com lists them, checked 4 Oct 2026.
Near it
All alternatives →- SSQLint#16 on this board
- Ssqlfmt#18 on this board
- SPSQL Pretty Printer#15 on this board
- SLSQL Linter by SqlInt#19 on this board
- PpgFormatter#14 on this board
- STsql-tools#20 on this board
- SF
SQL Formatter#13 on this board - PPprettier-plugin-sql-cst#21 on this board
- TTSQLLint#12 on this board
- SFSQL Formatter VSCode#22 on this board