Best Ruff Alternatives in 2026

20 apps from code formatting tools ranked against Ruff on the same published basis.

  1. 1Ruff vs Accessibility Test Framework for Android
  2. 2Ruff vs Black
  3. 3Ruff vs Prettier
  4. 5Ruff vs rustfmt
  5. 6Ruff vs Biome
  6. 7Ruff vs CSharpier
  7. 8Ruff vs dprint
  8. 9Ruff vs gofmt
  9. 10Ruff vs Taplo
  10. 11Ruff vs pgFormatter
  11. 12Ruff vs PHP CS Fixer
  12. 13Ruff vs autopep8
  13. 14Ruff vs clang-format
  14. 15Ruff vs Dart pub
  15. 16Ruff vs elm-format
  16. 17Ruff vs goimports
  17. 18Ruff vs Ormolu
  18. 19Ruff vs shfmt
  19. 20Ruff vs yamlfmt
  20. 21Ruff vs YAPF

Ruff alternatives compared

#AppScoreFree planFromRuns on
1Accessibility Test Framework for Android6.6Free planFreeAndroid, Linux, Mac, Windows
2Black6.6Free planFreeLinux, Mac, self-hosted, Windows
3Prettier6.6Free planFreeAPI, Browser, Linux, Mac, Web, Windows
5rustfmt6.6Free planFreeLinux, Mac, Windows
6Biome6.5Free planFreeBrowser, Linux, Mac, Web, Windows
7CSharpier6.5Free planFreeAPI, Linux, Mac, Windows
8dprint6.5Free planFreeBrowser, Linux, Mac, self-hosted, Windows
9gofmt6.5Free planFreeLinux, Mac, Windows
10Taplo6.5Free planFreeAPI, Browser, Linux, Mac, Windows
11pgFormatter6.4Free planFreeAPI, Linux, self-hosted, Web
12PHP CS Fixer6.4Free planFreeLinux, self-hosted
13autopep85.6No—API, Linux, Mac, Windows
14clang-format5.6No—Browser, Linux, Mac, Windows
15Dart pub5.6No—Linux, Mac, Windows
16elm-format5.4No—Windows, Mac, Linux
17goimports5.4No—Web, Windows, Mac, Linux
18Ormolu5.4No—Web, Windows, Mac, Linux
19shfmt5.4No—Linux, Windows, Mac
20yamlfmt5.4No—Linux, Mac, Windows
21YAPF5.4No—Linux, Mac, Windows
Make your app an alternative to Ruff

The sponsored alternative slot on this page is labelled Sponsored.

See the price

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.