C# Formatter

Format C# classes, methods, properties, records, and pasted snippets with consistent indentation, spacing, braces, and line wrapping without renaming symbols or changing code behavior.

C# formatting controls

Start from LLVM, Google, Chromium, Mozilla, WebKit, or GNU style. You can use an indent width from 1 to 16 and a column limit from 0 to 1000; setting the column limit to 0 disables wrapping. Load a .cs file or paste code, then copy or save the result.