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

























