Best Scalafmt Alternatives in 2026

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

  1. 1Scalafmt vs dprint
  2. 2Scalafmt vs Prettier
  3. 3Scalafmt vs Black
  4. 4Scalafmt vs Biome
  5. 5Scalafmt vs Ruff
  6. 6Scalafmt vs CSharpier
  7. 7Scalafmt vs PHP CS Fixer
  8. 8Scalafmt vs swift-format
  9. 9Scalafmt vs clang-format
  10. 10Scalafmt vs rustfmt
  11. 11Scalafmt vs Spotless
  12. 12Scalafmt vs gofmt
  13. 14Scalafmt vs pgFormatter
  14. 15Scalafmt vs google-java-format
  15. 16Scalafmt vs shfmt
  16. 17Scalafmt vs Taplo
  17. 18Scalafmt vs js-beautify
  18. 19Scalafmt vs goimports
  19. 20Scalafmt vs yamlfmt
  20. 21Scalafmt vs Fantomas

Scalafmt alternatives compared

#AppScoreFree planFromRuns on
1dprint8.1Free planFreeBrowser, Linux, Mac, self-hosted, Windows
2Prettier8.0Free planFreeAPI, Browser, Linux, Mac, Web, Windows
3Black7.9Free planFreeLinux, Mac, self-hosted, Windows
4Biome7.7Free planFreeBrowser, Linux, Mac, Web, Windows
5Ruff7.7Free planFreeLinux, Mac, self-hosted, Web, Windows
6CSharpier7.5Free planFreeAPI, Linux, Mac, Windows
7PHP CS Fixer7.5Free planFreeLinux, self-hosted
8swift-format7.5No—Mac, iOS
9clang-format7.4No—Browser, Linux, Mac, Windows
10rustfmt7.4Free planFreeLinux, Mac, Windows
11Spotless7.1No——
12gofmt7.1Free planFreeLinux, Mac, Windows
14pgFormatter6.8Free planFreeAPI, Linux, self-hosted, Web
15google-java-format6.5No——
16shfmt6.4No—Linux, Windows, Mac
17Taplo6.4Free planFreeAPI, Browser, Linux, Mac, Windows
18js-beautify6.3No—Web
19goimports6.2No—Web, Windows, Mac, Linux
20yamlfmt6.1No—Linux, Mac, Windows
21Fantomas5.9No—Web
Make your app an alternative to Scalafmt

The sponsored alternative slot on this page is labelled Sponsored.

See the price

Questions about Scalafmt alternatives

What is the best alternative to Scalafmt?

dprint, number 1 in code formatting tools with a score of 8.1 out of 10. The others here: Prettier, Black, Biome and 16 more.

What is the best free alternative to Scalafmt?

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