Best goimports Alternatives in 2026
Updated
20 platforms from code formatting tools ranked against goimports on the same published basis.
- 1goimports vs Taplo
- 2goimports vs CSharpier
- 3goimports vs pgFormatter
- 4goimports vs Prettier
- 5goimports vs UglifyJS
- 6goimports vs autopep8
- 7goimports vs Black
- 8goimports vs rustfmt
- 9goimports vs Accessibility Test Framework for Android
- 10goimports vs dprint
- 11goimports vs gofmt
- 12goimports vs js-beautify
- 13goimports vs PHP CS Fixer
- 14goimports vs Biome
- 15goimports vs Ruff
- 16goimports vs clang-format
- 17goimports vs Dart pub
- 18goimports vs Scalafmt
- 19goimports vs Spotless
- 20goimports vs stylish-haskell
goimports alternatives compared
| # | Platform | Score | Free plan | From | Runs on |
|---|---|---|---|---|---|
| 1 | Taplo | 7.3 | Free plan | Free | API, Browser, Linux, Mac, Windows |
| 2 | CSharpier | 7.2 | Free plan | Free | API, Linux, Mac, Windows |
| 3 | pgFormatter | 7.2 | Free plan | Free | API, Linux, self-hosted, Web |
| 4 | Prettier | 7.2 | Free plan | Free | API, Browser, Linux, Mac, Web, Windows |
| 5 | UglifyJS | 7.2 | Free plan | Free | API, Linux, self-hosted |
| 6 | autopep8 | 6.9 | No | — | API, Linux, Mac, Windows |
| 7 | Black | 6.0 | Free plan | Free | Linux, Mac, self-hosted, Windows |
| 8 | rustfmt | 6.0 | Free plan | Free | Linux, Mac, Windows |
| 9 | Accessibility Test Framework for Android | 5.9 | Free plan | Free | Android, Linux, Mac, Windows |
| 10 | dprint | 5.9 | Free plan | Free | Browser, Linux, Mac, self-hosted, Windows |
| 11 | gofmt | 5.9 | Free plan | Free | Linux, Mac, Windows |
| 12 | js-beautify | 5.9 | Free plan | Free | Web |
| 13 | PHP CS Fixer | 5.9 | Free plan | Free | Linux, self-hosted |
| 14 | Biome | 5.8 | Free plan | Free | Browser, Linux, Mac, Web, Windows |
| 15 | Ruff | 5.8 | Free plan | Free | Linux, Mac, self-hosted, Web, Windows |
| 16 | clang-format | 5.6 | No | — | Browser, Linux, Mac, Windows |
| 17 | Dart pub | 5.5 | No | — | Linux, Mac, Windows |
| 18 | Scalafmt | 5.2 | No | — | — |
| 19 | Spotless | 5.2 | No | — | — |
| 20 | stylish-haskell | 5.2 | No | — | Windows, Linux |
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?
Taplo, number 1 in code formatting tools with a score of 7.3 out of 10. The others here: CSharpier, pgFormatter, Prettier and 16 more.
What is the best free alternative to goimports?
Taplo is the best-ranked alternative with a free plan. 14 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, open and connectable first: a public API, open-source code, the depth of its documentation and a free tier to try it on. Model lists are sorted by the figure in their title, exactly as each provider publishes it.

























