Developer Tools·Standings
Code Formatting Tools
Code formatting tools automatically arrange source code, so the choice depends on supported languages, editor integration, and where the formatter runs. They can also differ in licensing and configuration.
Use the board's signal score out of 10 as a summary of published information. Check the API, open-source mark, and free-tier mark, then compare platforms, ignore-file support, changed-lines formatting, and library access.
- 34 platforms
- 25 with a free tier
- Checked 23 Sept 2026
- 1 P
Prettierprettier.ioOpen-source formatter for JavaScript, TypeScript, web markup and configuration files.
- 2 AAvidemuxavidemux.sourceforge.net
Avidemux is a free video editor designed for simple cutting, filtering and encoding tasks.
- 3 ZFZig fmtziglang.org
Canonical formatter for Zig code with a check mode that leaves files unchanged.
- 4 BBlackblack.readthedocs.io
Black is an opinionated code formatter that formats Python code with consistent style.
- 5 FFourmolufourmolu.github.io
Configurable Haskell formatter with options for indentation, imports and comments.
- 6 Rrustfmtrust-lang.github.io
Rust formatter for source files, standard input and Cargo crates or workspaces.
- 7 UUncrustifygithub.com
Source beautifier for C-family, Java, D, Pawn and Vala code with 901 options.
- 8 R
Ruffdocs.astral.shRuff is a Python linter and code formatter written in Rust.
- 9 LPLaravel Pintlaravel.com
PHP code style tool that applies Laravel's conventions without configuration.
- 10 CFclang-formatclang.llvm.org
Source formatter for C-family languages, Java, JavaScript, JSON, and C# with built-in styles.
- 11 OOrmolugithub.com
Haskell formatter using GHC parsing and a fixed style designed for small diffs.
- 12 F
Fantomasfsprojects.github.ioConfigurable F# formatter with defaults aligned to Microsoft's conventions.
- 13 Sshfmtgithub.com
Shell formatter for POSIX, Bash, Zsh, and mksh files; open source and free.
- 14 TTaplotaplo.tamasfe.dev
TOML toolkit that validates, formats, queries and converts TOML to JSON.
- 15 B
Biomebiomejs.devWeb toolchain that formats and checks JavaScript, TypeScript, JSON, CSS, HTML, and more.
- 16 SHstylish-haskellgithub.com
stylish-haskell is a Haskell code prettifier designed to help with formatting tasks such as cleaning up import statements.
- 17 Aautopep8github.com
Python formatter that fixes most PEP 8 issues found by pycodestyle.
- 18 Ddprintdprint.dev
Pluggable formatter for many languages, including TypeScript, JSON, Markdown, CSS and Python.
- 19 EFelm-formatgithub.com
Elm formatter that applies rules from the language's style guide to files or directories.
- 20 Ggofmtgo.dev
Gofmt automatically formats Go programs using tabs for indentation and blanks for alignment.
- 21 S
Scalafmtscalameta.orgScala formatter that runs in editors, build tools, or terminals with a free plan.
- 22 SFswift-formatgithub.com
Swift formatter and style checker with JSON configuration; free and open source.
- 23 C
CSharpiercsharpier.comOpen-source formatter for C# and XML with built-in format checking.
- 24 SSpotlessgithub.com
Spotless formats source code and can check files for formatting violations or apply fixes.
- 25 Ggoimportspkg.go.dev
Go formatter that adds missing imports and removes unused ones; free and open source.
Places #1, #2, #3, #4, #5 on this board are open to sponsors. Take #1 · Other ways to advertise
How to choose
Which programming languages does it need to format?
Start with the languages in your projects. Supported languages are a direct comparison point, so a formatter should list the language you need before you add it to an editor workflow.
Prettier, CSharpier, Taplo, pgFormatter, UglifyJS, autopep8, Black, Fourmolu, Laravel Pint, rustfmt, Uncrustify, and Zig fmt are examples with different language focuses. Match the tool to your code rather than assuming one formatter covers every language.
Which platforms and editors does it support?
Choose a formatter that runs on the operating systems and editors used by your team. Linux, macOS, and Windows are listed platform comparisons, with self-hosted, web, and API options also appearing.
Editor integration determines how formatting is started and where its settings live. Check that the tool fits your editor, then confirm whether a library API is available when another program needs to call the formatter.
Can it ignore files and format changed lines?
Ignore-file support lets you exclude paths from formatting, which can help keep generated or external files untouched. Confirm the formatter's approach before adding repository rules.
Changed-lines formatting focuses work on edits rather than a full file. Compare this feature with the team's review process and check whether the tool documents how the setting works.
What license model and price should you choose?
License model matters when code must be reviewed, redistributed, or hosted internally. Read the published license information and confirm it fits your project before adoption.
The listed tools are free, with free plans shown for Prettier, CSharpier, Taplo, pgFormatter, UglifyJS, autopep8, Black, Fourmolu, Laravel Pint, rustfmt, Uncrustify, and Zig fmt. Pricing alone does not replace a platform, language, or integration check.
Does it offer an API for other software?
A public API lets another program request formatting instead of relying on a manual editor action. Check for API support when formatting belongs in a larger workflow.
Also compare documentation depth. Clear instructions can make setup and maintenance easier, while a free tier gives you a way to try the published feature set before committing.
Questions
What do code formatting tools do?
They arrange source code according to a formatter's rules. Compare supported languages, editor integration, platforms, ignore files, and changed-lines formatting.
Which code formatters are open source?
Prettier, CSharpier, Fourmolu, and rustfmt are listed with open-source pricing notes. Other listed tools show a free plan without that note.
Are code formatting tools free?
The listed tools show free pricing or a free plan, including Prettier, Black, autopep8, and Zig fmt. Check the license model and platform support before use.
Can a formatter run on macOS, Windows, and Linux?
Platform support differs by tool. Linux, macOS, and Windows are comparison fields, so verify the specific formatter's published platform list.
What is changed-lines formatting?
Changed-lines formatting applies formatting to edited lines instead of treating the whole file as changed. Check whether the formatter documents this option.
Why does a code formatter need an API?
A public API lets another program call the formatter directly. It can connect formatting with an editor, build step, or other software workflow.
Some top positions on this board can be paid placements, standing where they were sold. The facts on each platform are not for sale. How we rank · Disclosure