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

























