EVERYTHING XIAOMI
Get listed
Side by side

prettier-plugin-sql-cst vs sqlfmt

sqlfmt

6.7#3 in sql linters and formattersFree plan
Free planWebAPILinuxSelf-hosted
Visit

What both publish

Factprettier-plugin-sql-cstsqlfmt
LicenseThe repository identifies the project as GPL-3.0 licensed.sqlfmt is distributed under the PostgreSQL Licence.
PurposeIt is a Prettier plugin for formatting SQL that uses sql-parser-cst and Prettier’s formatting algorithm.sqlfmt is a gofmt-style command-line formatter for PostgreSQL SQL.

prettier-plugin-sql-cst plans

No prices published.

sqlfmt plans

  • Browser formatterFree

Pick prettier-plugin-sql-cst if…

You want what its maker publishes above — check its page for the details.

Pick sqlfmt if…

It suits PostgreSQL users who want consistent SQL formatting in a CLI, browser, Go program, or supported editor. Its EXPLAIN tools may also suit teams comparing plan structure in scripts or CI.

Charts they share