pgFormatter
6.2#11 in sql linters and formattersFree planFree planWebAPILinuxSelf-hosted
Visit| Fact | pgFormatter | SQLFormat.org |
|---|---|---|
| Formatting options | Options include changing keyword, function, identifier, and type case; adjusting indentation; wrapping queries; and choosing comma placement. | Options include keyword and identifier case, indentation, output format, comment removal, and compact mode. |
| Purpose | pgFormatter beautifies PostgreSQL SQL queries and PL/pgSQL code, and supports keywords from several SQL standards as well as PostgreSQL-specific keywords. | SQLFormat is a free online formatter for SQL statements. |
It suits developers who want to format PostgreSQL or PL/pgSQL code and adjust layout or casing. It may also fit SQL workflows that use console, CGI, editor, Docker, or pre-commit setups.
SQLFormat.org suits people who want to format SQL in a browser or through a lightweight API. Its linked Python module may interest developers who want to use sqlparse in their own applications.