Best sqlfmt Alternatives in 2026
Updated
20 apps from SQL linters and formatters ranked against sqlfmt on the same published basis.
- 1sqlfmt vs Sqruff
- 2sqlfmt vs pgFormatter
- 3sqlfmt vs Squawk
- 4sqlfmt vs TSQLLint
- 5sqlfmt vs SQL Formatter
- 6sqlfmt vs SQL Formatter VSCode
- 7sqlfmt vs sqlfmt
- 8sqlfmt vs Sleek
- 9sqlfmt vs SQLFluff
- 10sqlfmt vs JSQLFormatter
- 11sqlfmt vs SQL Enlight
- 12sqlfmt vs Poor SQL
- 13sqlfmt vs Prettier SQL
- 14sqlfmt vs sql-tools
- 15sqlfmt vs SQLint
- 17sqlfmt vs SQL Pretty Printer
- 18sqlfmt vs PgSanity
- 19sqlfmt vs SQLFormat.org
- 20sqlfmt vs SQL Linter by SqlInt
- 21sqlfmt vs Primova SQL Formatter & Linter
sqlfmt alternatives compared
| # | App | Score | Free plan | From | Runs on |
|---|---|---|---|---|---|
| 1 | Sqruff | 8.0 | Free plan | Free | Browser, Linux, Mac, self-hosted, Web, Windows |
| 2 | pgFormatter | 8.0 | Free plan | Free | API, Linux, self-hosted, Web |
| 3 | Squawk | 8.0 | No | — | Android, API, Browser, iOS, Linux, Mac, self-hosted, Web, Windows |
| 4 | TSQLLint | 7.8 | Free plan | Free | Browser, Linux, Mac, Windows |
| 5 | SQL Formatter | 7.6 | Free plan | Free | Browser, Linux, Mac, Web, Windows |
| 6 | SQL Formatter VSCode | 7.6 | Free plan | Free | Browser |
| 7 | sqlfmt | 7.6 | Free plan | Free | API, Linux, self-hosted, Web |
| 8 | Sleek | 7.3 | Free plan | Free | Browser, Linux, Mac, Windows |
| 9 | SQLFluff | 7.0 | No | — | — |
| 10 | JSQLFormatter | 7.0 | Free plan | Free | Linux, Mac, self-hosted, Windows |
| 11 | SQL Enlight | 6.9 | No | — | Windows |
| 12 | Poor SQL | 6.9 | Free plan | Free | API, Linux, Web, Windows |
| 13 | Prettier SQL | 6.5 | No | — | — |
| 14 | sql-tools | 6.4 | Free plan | Free | Web |
| 15 | SQLint | 6.3 | Free plan | Free | Linux |
| 17 | SQL Pretty Printer | 6.2 | No | — | Web, Windows |
| 18 | PgSanity | 6.0 | Free plan | Free | Linux, self-hosted |
| 19 | SQLFormat.org | 5.9 | Free plan | Free | API, Web |
| 20 | SQL Linter by SqlInt | 5.7 | No | — | Web |
| 21 | Primova SQL Formatter & Linter | 5.6 | No | — | Web |
Make your app an alternative to sqlfmt
See the priceThe sponsored alternative slot on this page is labelled and never changes the order above.
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.






















