Uncrustify
Uncrustify is a free, open-source source code formatter for C, C++, C#, Objective-C, D, Java, Pawn, and Vala.
What Uncrustify is
Uncrustify is a free, open-source source code formatter for C, C++, C#, Objective-C, D, Java, Pawn, and Vala. It can adjust spacing, indentation, alignment, and braces, reformat comments, and handle embedded SQL statements. Version 0.83.0 has 901 configurable options for controlling formatting. The command-line program accepts configuration and input files, can process multiple files, and writes formatted output to a file or standard output. The project provides source code and precompiled Windows binaries through its releases. It supports Linux, OS X, and Windows, with CMake build guidance for UNIX-like systems. Resources linked by the project include Vim usage guidance, an IntelliJ plugin, a web configuration tool, and a Mac OS X utility and documentation browser. The repository identifies the license as GPL-2.0. The project directs bug reports to GitHub Issues and welcomes patches. Its README cautions that the application has bugs and recommends reviewing output before applying formatting to a whole codebase. It also says contributors are needed to test Java and Objective-C support and embedded SQL behavior.
Good
- Formats eight listed programming languages.
- Version 0.83.0 offers 901 configurable options.
- Can process multiple files from the command line.
- Project links Vim guidance and an IntelliJ plugin.
Watch out
- The README warns that the application has bugs.
- Java and Objective-C support need more testing.
- Embedded SQL behavior also needs contributor testing.
Who it suits
Uncrustify suits developers who want configurable command-line formatting across its listed languages and platforms. It may also fit users of Vim or IntelliJ who want to consult the project's editor resources.
Verdict
Uncrustify offers broad language coverage and detailed formatting configuration, with command-line and editor resources. Its own README advises checking results before applying formatting across a codebase.
Plans and prices
From Uncrustify's own pricing page, checked 8 Oct 2026.
| Plan | Price | What it gives you |
|---|---|---|
| Uncrustify | Free | GPL-2.0 licensed source code formatter |
The facts
Each one read from Uncrustify's own pages, with the date it was checked.
What it does
- Build
- The README documents building from source with CMake on UNIX-like systems and describes build options for other systems.checked 8 Oct 2026
- Command line
- The program accepts configuration and input files, can write formatted output to a file or standard output, and can process multiple files.checked 8 Oct 2026
- Community support
- The project directs users to GitHub Issues for bug reports and welcomes patches.checked 8 Oct 2026
- Configuration
- Version 0.83.0 has 901 configurable options.checked 8 Oct 2026
- Configuration tools
- The README lists a web configuration tool based on Uncrustify’s Emscripten interface and a Mac OS X utility and documentation browser.checked 8 Oct 2026
- Distribution
- The project provides source code and precompiled Windows binaries through its releases page.checked 8 Oct 2026
- Downloads
- The README says precompiled Windows binaries are available from GitHub Releases or SourceForge.checked 8 Oct 2026
- Editor integrations
- The README links usage guidance for Vim and an Uncrustify plugin for IntelliJ.checked 8 Oct 2026
- Embedded SQL
- The project says it supports embedded SQL EXEC SQL statements.checked 8 Oct 2026
- Formatting features
- It can adjust spacing, indentation, alignment and braces, reformat comments, and handle embedded SQL.checked 8 Oct 2026
- Integrations
- The README links usage guidance for Vim and an Uncrustify plugin for IntelliJ.checked 8 Oct 2026
- Known limitation
- The README warns that the application has bugs and recommends checking results before applying it to an entire codebase.checked 8 Oct 2026
- Language support caveat
- The project says it needs contributors to test Java and Objective-C support and Embedded SQL behavior.checked 8 Oct 2026
- License
- The repository identifies its license as GPL-2.0.checked 8 Oct 2026
- Purpose
- Uncrustify is a source code beautifier for C, C++, C#, Objective-C, D, Java, Pawn and Vala.checked 8 Oct 2026
- Support
- The project directs bug reports to its GitHub issue tracker and welcomes patches through pull requests.checked 8 Oct 2026
Where it runs
- Platforms
- The project lists Linux, QNX, OS X, BSD variants, Solaris 9 and Windows among operating systems it has tested.checked 8 Oct 2026
Alternatives to Uncrustify
- 1

Prettier
Free planOpen sourceWebAPIExtensionLinux7.5Free plan - 2
Avidemux
Free planOpen sourceWebLinuxmacOSWindows7.3Free plan - 3
Fourmolu
Free planWebLinuxWindows6.7Free plan - 4
rustfmt
Free planLinuxmacOSWindows6.6Free plan - 5
Black
Free planLinuxmacOSSelf-hostedWindows6.5Free plan - 6

Ruff
Free planWebLinuxmacOSSelf-hosted6.5Free plan
