# uncrustify/uncrustify

Code beautifier

Repository: https://github.com/uncrustify/uncrustify
Canonical: https://ross.abutalabs.com/products/uncrustify
Homepage: http://uncrustify.sourceforge.net/
Language: C++
License: GPL-2.0
License Family: copyleft
Topics: beautifier, beautify, code-style, format, formatter
Last push: 2026-08-23T12:57:55+00:00

## Health v2 (maintenance only)
Score: 83/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 52, longevity 100
- inputs: {"age_days": 6164, "days_push": 10, "days_rel": 108, "gap_med": 181.5, "n_releases_24m": 5}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3066, forks 602 (observed 2026-08-28T04:07:41.381406+00:00)

## What it is
Uncrustify is a highly configurable source code beautifier for C, C++, C#, Objective-C, D, Java, Pawn, and Vala. It reformats code by adjusting spacing, newlines, indentation, alignment, and braces according to hundreds of configurable options.

## Use cases
- format C++ code to a consistent style
- enforce code style across a C-like codebase
- add or remove braces on single-statement if/for/while blocks
- align variable definitions and struct initializers
- reformat Java indentation and spacing
- normalize whitespace before parens and around operators
- integrate a code formatter into CI to check style

## When to choose
- you need fine-grained control over formatting rules beyond what clang-format offers
- your project uses C, C++, C#, Objective-C, D, Java, Pawn, or Vala
- you want to enforce a custom house style with hundreds of tweakable options

## When to avoid
- you want zero-configuration opinionated formatting out of the box
- your language is not C-like (e.g., Python, Go, Rust)
- you prefer a formatter with a small, simple option set

## Facets
- artifact type: cli-tool
- maturity: stable
- function: formatter, developer-tools
- domain: developer-tools, programming-languages
- platform: windows, cli, cross-platform
- tags: code-beautifier, code-style, c-like-languages, highly-configurable, command-line, linux, macos

## Member repositories
- uncrustify/uncrustify (main) score 83

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:41.381406+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:28:12.389042+00:00, confidence not recorded.
  - readme: https://github.com/uncrustify/uncrustify (fetched 2026-08-28T04:07:41.381406+00:00, sha c204e5b4cbaa)
  - homepage: http://uncrustify.sourceforge.net/ (fetched 2026-08-29T09:43:28.160716+00:00, sha fff2008875a5)
- Data as of 2026-08-30T08:39:29.467469+00:00.
