Best Ruff Alternatives in 2026
Updated
20 apps from code formatting tools ranked against Ruff on the same published basis.
- 1Ruff vs Accessibility Test Framework for Android
- 2Ruff vs Black
- 3Ruff vs Prettier
- 5Ruff vs rustfmt
- 6Ruff vs Biome
- 7Ruff vs CSharpier
- 8Ruff vs dprint
- 9Ruff vs gofmt
- 10Ruff vs Taplo
- 11Ruff vs pgFormatter
- 12Ruff vs PHP CS Fixer
- 13Ruff vs autopep8
- 14Ruff vs clang-format
- 15Ruff vs Dart pub
- 16Ruff vs elm-format
- 17Ruff vs goimports
- 18Ruff vs Ormolu
- 19Ruff vs shfmt
- 20Ruff vs yamlfmt
- 21Ruff vs YAPF
Ruff alternatives compared
| # | App | Score | Free plan | From | Runs on |
|---|---|---|---|---|---|
| 1 | Accessibility Test Framework for Android | 6.6 | Free plan | Free | Android, Linux, Mac, Windows |
| 2 | Black | 6.6 | Free plan | Free | Linux, Mac, self-hosted, Windows |
| 3 | Prettier | 6.6 | Free plan | Free | API, Browser, Linux, Mac, Web, Windows |
| 5 | rustfmt | 6.6 | Free plan | Free | Linux, Mac, Windows |
| 6 | Biome | 6.5 | Free plan | Free | Browser, Linux, Mac, Web, Windows |
| 7 | CSharpier | 6.5 | Free plan | Free | API, Linux, Mac, Windows |
| 8 | dprint | 6.5 | Free plan | Free | Browser, Linux, Mac, self-hosted, Windows |
| 9 | gofmt | 6.5 | Free plan | Free | Linux, Mac, Windows |
| 10 | Taplo | 6.5 | Free plan | Free | API, Browser, Linux, Mac, Windows |
| 11 | pgFormatter | 6.4 | Free plan | Free | API, Linux, self-hosted, Web |
| 12 | PHP CS Fixer | 6.4 | Free plan | Free | Linux, self-hosted |
| 13 | autopep8 | 5.6 | No | — | API, Linux, Mac, Windows |
| 14 | clang-format | 5.6 | No | — | Browser, Linux, Mac, Windows |
| 15 | Dart pub | 5.6 | No | — | Linux, Mac, Windows |
| 16 | elm-format | 5.4 | No | — | Windows, Mac, Linux |
| 17 | goimports | 5.4 | No | — | Web, Windows, Mac, Linux |
| 18 | Ormolu | 5.4 | No | — | Web, Windows, Mac, Linux |
| 19 | shfmt | 5.4 | No | — | Linux, Windows, Mac |
| 20 | yamlfmt | 5.4 | No | — | Linux, Mac, Windows |
| 21 | YAPF | 5.4 | No | — | Linux, Mac, Windows |
Make your app 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 6.6 out of 10. The others here: Black, Prettier, 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. 11 of the 20 alternatives here publish a free plan on their own pricing pages.
How are these alternatives ranked?
Ranked free-and-open first: a usable free tier and open-source code, then the platforms it runs on and its documentation.























