Best Ruff Alternatives in 2026
Updated
20 tools from code formatting tools ranked against Ruff on the same published basis.
- 1Ruff vs Accessibility Test Framework for Android
- 2Ruff vs Prettier
- 3Ruff vs Black
- 4Ruff vs rustfmt
- 5Ruff vs Biome
- 6Ruff vs gofmt
- 8Ruff vs Taplo
- 9Ruff vs dprint
- 10Ruff vs CSharpier
- 11Ruff vs autopep8
- 12Ruff vs Dart pub
- 13Ruff vs js-beautify
- 14Ruff vs clang-format
- 15Ruff vs pgFormatter
- 16Ruff vs PHP CS Fixer
- 17Ruff vs UglifyJS
- 18Ruff vs goimports
- 19Ruff vs Ormolu
- 20Ruff vs yamlfmt
- 21Ruff vs YAPF
Ruff alternatives compared
| # | Tool | Score | Free plan | From | Runs on |
|---|---|---|---|---|---|
| 1 | Accessibility Test Framework for Android | 7.4 | Free plan | Free | Android, Linux, Mac, Windows |
| 2 | Prettier | 7.4 | Free plan | Free | API, Browser, Linux, Mac, Web, Windows |
| 3 | Black | 7.3 | Free plan | Free | Linux, Mac, self-hosted, Windows |
| 4 | rustfmt | 7.3 | Free plan | Free | Linux, Mac, Windows |
| 5 | Biome | 7.2 | Free plan | Free | Browser, Linux, Mac, Web, Windows |
| 6 | gofmt | 7.2 | Free plan | Free | Linux, Mac, Windows |
| 8 | Taplo | 7.2 | Free plan | Free | API, Browser, Linux, Mac, Windows |
| 9 | dprint | 7.1 | Free plan | Free | Browser, Linux, Mac, self-hosted, Windows |
| 10 | CSharpier | 7.0 | Free plan | Free | API, Linux, Mac, Windows |
| 11 | autopep8 | 6.9 | No | — | API, Linux, Mac, Windows |
| 12 | Dart pub | 6.9 | No | — | Linux, Mac, Windows |
| 13 | js-beautify | 6.9 | Free plan | Free | Web |
| 14 | clang-format | 6.8 | No | — | Browser, Linux, Mac, Windows |
| 15 | pgFormatter | 6.8 | Free plan | Free | API, Linux, self-hosted, Web |
| 16 | PHP CS Fixer | 6.8 | Free plan | Free | Linux, self-hosted |
| 17 | UglifyJS | 6.6 | Free plan | Free | API, Linux, self-hosted |
| 18 | goimports | 6.4 | No | — | Web, Windows, Mac, Linux |
| 19 | Ormolu | 6.3 | No | — | Web, Windows, Mac, Linux |
| 20 | yamlfmt | 6.3 | No | — | Linux, Mac, Windows |
| 21 | YAPF | 6.3 | No | — | Linux, Mac, Windows |
Make your tool an alternative to Ruff
See the priceThe sponsored alternative slot on this page is labelled Sponsored.
Questions about Ruff alternatives
What is the best alternative to Ruff?
Accessibility Test Framework for Android, number 1 in code formatting tools with a score of 7.4 out of 10. The others here: Prettier, Black, rustfmt and 16 more.
What is the best free alternative to Ruff?
Accessibility Test Framework for Android 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, the fullest spec sheet first: how deeply the product is documented, the platforms it runs on, a free tier or trial to test it, and its standing.























