Best sqlfmt Alternatives in 2026

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

  1. 1sqlfmt vs Sqruff
  2. 2sqlfmt vs pgFormatter
  3. 3sqlfmt vs Squawk
  4. 4sqlfmt vs TSQLLint
  5. 5sqlfmt vs SQL Formatter
  6. 6sqlfmt vs SQL Formatter VSCode
  7. 7sqlfmt vs sqlfmt
  8. 8sqlfmt vs Sleek
  9. 9sqlfmt vs SQLFluff
  10. 10sqlfmt vs JSQLFormatter
  11. 11sqlfmt vs SQL Enlight
  12. 12sqlfmt vs Poor SQL
  13. 13sqlfmt vs Prettier SQL
  14. 14sqlfmt vs sql-tools
  15. 15sqlfmt vs SQLint
  16. 17sqlfmt vs SQL Pretty Printer
  17. 18sqlfmt vs PgSanity
  18. 19sqlfmt vs SQLFormat.org
  19. 20sqlfmt vs SQL Linter by SqlInt
  20. 21sqlfmt vs Primova SQL Formatter & Linter

sqlfmt alternatives compared

#AppScoreFree planFromRuns on
1Sqruff8.0Free planFreeBrowser, Linux, Mac, self-hosted, Web, Windows
2pgFormatter8.0Free planFreeAPI, Linux, self-hosted, Web
3Squawk8.0No—Android, API, Browser, iOS, Linux, Mac, self-hosted, Web, Windows
4TSQLLint7.8Free planFreeBrowser, Linux, Mac, Windows
5SQL Formatter7.6Free planFreeBrowser, Linux, Mac, Web, Windows
6SQL Formatter VSCode7.6Free planFreeBrowser
7sqlfmt7.6Free planFreeAPI, Linux, self-hosted, Web
8Sleek7.3Free planFreeBrowser, Linux, Mac, Windows
9SQLFluff7.0No——
10JSQLFormatter7.0Free planFreeLinux, Mac, self-hosted, Windows
11SQL Enlight6.9No—Windows
12Poor SQL6.9Free planFreeAPI, Linux, Web, Windows
13Prettier SQL6.5No——
14sql-tools6.4Free planFreeWeb
15SQLint6.3Free planFreeLinux
17SQL Pretty Printer6.2No—Web, Windows
18PgSanity6.0Free planFreeLinux, self-hosted
19SQLFormat.org5.9Free planFreeAPI, Web
20SQL Linter by SqlInt5.7No—Web
21Primova SQL Formatter & Linter5.6No—Web
Make your app an alternative to sqlfmt

The sponsored alternative slot on this page is labelled and never changes the order above.

See the price

Questions about sqlfmt alternatives

What is the best alternative to sqlfmt?

Sqruff, number 1 in SQL linters and formatters with a score of 8.0 out of 10. The others here: pgFormatter, Squawk, TSQLLint and 16 more.

What is the best free alternative to sqlfmt?

Sqruff 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 mobile-first: a phone app alongside the web or desktop product, a free tier and the depth of its documentation. Paid placements never change a rank.