Wednesday, October 28, 2026 4,528 lists 79,037 records on file
List your app or device

  1. Home
  2. Developer Tools
  3. Code formatters
Ranked on the record · 22 apps

Best Code Formatters 2026

Code formatters arrange source code to a consistent style. This list helps you compare tools by language support, licence, cost and the way you can run them.

The finder puts newer releases before older ones and uses figures the makers publish. Check the tool's supported platform and access method before you choose.

01

Prettier suits developers and teams seeking consistent code formatting across supported languages and editors.

Free plan Open source WebWindowsMacLinuxBrowser extensionAPI+1
03

Black

Black suits Python developers and teams who want a shared formatting style with limited configuration.

WindowsMacLinux+1
Record4.9 Visit
04

rustfmt

Rust developers who want consistent formatting in files, Cargo projects, or editor workflows may find rustfmt useful.

WindowsMacLinux
Record4.9 Visit
05

Spotless

Spotless suits development teams that want automated formatting checks or fixes inside build workflows.

WindowsMacLinux
Record4.9 Visit
6 WindowsMacLinux+1 Free plan Record4.9 Visit
7 WindowsMacLinux Free plan Record4.7 Visit
8
gofmt

gofmt suits Go developers who want a command-line formatter or editor and version-control integrations.

WindowsMacLinux Free plan Record4.7 Visit
9 iPhone & iPadMacLinux Free plan Record4.7 Visit
10 WindowsMacLinux+1 Free plan Record4.6 Visit
11 WindowsMacLinux+1 Free plan Record4.6 Visit
12
CSharpier

CSharpier suits developers who want opinionated C# and XML formatting in projects, editors, builds, or CI pipelines.

WindowsMacLinux+1 Free plan Record4.6 Visit
13 LinuxSelf-hosted Free plan Record4.5 Visit
14
PHP CS Fixer

PHP developers and teams can use PHP CS Fixer to apply or check coding-style rules in a self-hosted workflow.

LinuxSelf-hosted Free plan Record4.4 Visit
15 Linux Free plan Record4.3 Visit
16 WindowsMacLinux Free plan Record3.1 Visit
17 $20 a month Record2.8 Visit
18 Free plan Record2.7 Visit
19 Free plan Record2.7 Visit
20 Free plan Record2.7 Visit
21 WindowsMacLinux Free Record2.6 Visit
22 Free Record2.1 Visit

Before you choose

Check the cost model

A free plan is available from tools on this list. Deno lists a free plan and a Pro plan priced at $20 a month.

If a tool offers a free trial, use its terms to check what remains available after the trial ends.

Read the licence

Open-source code is available from tools on this list, including CSharpier and google-java-format. Review the licence before using a formatter in a project.

Match your platform

Tools on this list run on Linux, macOS, Windows, or a self-hosted setup. Choose a platform that fits your development environment.

Check the connection method

A formatter may be available through an API or an extension. Confirm that the access method fits the editor, build process or service where you plan to use it.

Questions

Are code formatters free?
A free plan is available from tools on this list. Deno also lists a Pro plan at $20 a month.
Can I find open-source formatters here?
Yes. Open-source code is listed for tools such as CSharpier and google-java-format.
Do these tools support different operating systems?
The listed platform options include Linux, macOS, Windows and self-hosted setups.
Can I connect a formatter through an API?
API access is one of the platform options represented on this list. Check the individual listing for its access method.
Are extensions available?
Extensions are one of the platform options represented on this list. Check the individual listing for compatibility details.