pgFormatter
pgformatterA PostgreSQL SQL syntax beautifier and formatter.
A PostgreSQL SQL syntax beautifier and formatter.
Beautify one or more SQL files with pg_format. Output goes to stdout unless an output file or in-place is chosen. Placeholders, extra keyword files and HTML output are left out.
filesspaceskeyword_casefilesinplacespaceskeyword_casepath · positional 0 · repeatablepath--output-oboolean--inplace-iinteger--spaces-sboolean--tabs-Tenum--keyword-case-u012enum--function-case-f0123boolean--nocomment-nboolean--comma-start-binteger--wrap-limit-wboolean--no-rcfile-Xhelpmanual2026-10-27Before it fills your prompt, Otty checks the installed pg_format against its version. A form that does not match your version is not offered.