Best sqlfmt Alternatives in 2026

20 platforms from SQL linters and formatters ranked against sqlfmt on the same published basis.

  1. 2sqlfmt vs pgFormatter
  2. 3sqlfmt vs Poor SQL
  3. 4sqlfmt vs SQLFluff
  4. 5sqlfmt vs SQLFormat.org
  5. 6sqlfmt vs Squawk
  6. 7sqlfmt vs Sleek
  7. 8sqlfmt vs SQLint
  8. 9sqlfmt vs Sqruff
  9. 10sqlfmt vs TSQLLint
  10. 11sqlfmt vs JSQLFormatter
  11. 12sqlfmt vs PgSanity
  12. 13sqlfmt vs SQL Formatter
  13. 14sqlfmt vs SQL Formatter VSCode
  14. 15sqlfmt vs sql-tools
  15. 16sqlfmt vs prettier-plugin-sql-cst
  16. 17sqlfmt vs SQL Enlight
  17. 18sqlfmt vs SQL Pretty Printer
  18. 19sqlfmt vs SQLCheck
  19. 20sqlfmt vs sqlfmt
  20. 21sqlfmt vs Valk Guard

sqlfmt alternatives compared

#PlatformScoreFree planFromRuns on
2pgFormatter7.3Free planFreeAPI, Linux, self-hosted, Web
3Poor SQL7.3Free planFreeAPI, Linux, Web, Windows
4SQLFluff7.2Free planFreeAPI, Linux, Mac, self-hosted, Windows
5SQLFormat.org7.2Free planFreeAPI, Web
6Squawk7.0No—Android, API, Browser, iOS, Linux, Mac, self-hosted, Web, Windows
7Sleek5.9Free planFreeBrowser, Linux, Mac, Windows
8SQLint5.9Free planFreeLinux
9Sqruff5.9Free planFreeBrowser, Linux, Mac, self-hosted, Web, Windows
10TSQLLint5.9Free planFreeBrowser, Linux, Mac, Windows
11JSQLFormatter5.8Free planFreeLinux, Mac, self-hosted, Windows
12PgSanity5.8Free planFreeLinux, self-hosted
13SQL Formatter5.8Free planFreeBrowser, Linux, Mac, Web, Windows
14SQL Formatter VSCode5.8Free planFreeBrowser
15sql-tools5.8Free planFreeWeb
16prettier-plugin-sql-cst5.1No——
17SQL Enlight5.1No—Windows
18SQL Pretty Printer5.1No—Web, Windows
19SQLCheck5.1No—Windows, Mac, Linux
20sqlfmt5.1No—Web
21Valk Guard5.1No—Windows, Mac, Linux
Make your platform an alternative to sqlfmt

The sponsored alternative slot on this page is labelled Sponsored.

See the price

Questions about sqlfmt alternatives

What is the best alternative to sqlfmt?

pgFormatter, number 2 in SQL linters and formatters with a score of 7.3 out of 10. The others here: Poor SQL, SQLFluff, SQLFormat.org and 16 more.

What is the best free alternative to sqlfmt?

pgFormatter is the best-ranked alternative with a free plan. 13 of the 20 alternatives here publish a free plan on their own pricing pages.

How are these alternatives ranked?

Ranked on what each maker publishes, open and connectable first: a public API, open-source code, the depth of its documentation and a free tier to try it on. Model lists are sorted by the figure in their title, exactly as each provider publishes it.