The C# formatter provides C# formatting, C# code layout, online C# formatting and C# code beautifying. c# code can look messy because of indentation, spacing and other formatting reasons. Enter messy, compressed or obfuscated C# code in the input box and click the C# code formatting button to format and beautify it. This tool makes C# code look better, more readable and easier to edit.
This tool belongs to the “Code & markup formatting” category.
Your input is processed locally in the browser whenever possible. We do not store it.
Formatting expands code into indented lines for readability; minifying strips whitespace and comments to reduce size.
Only whitespace, line breaks and comments are touched. With JavaScript that relies on automatic semicolon insertion, test the minified output before shipping.
Formatting and minifying run client-side. Nothing is written to server logs.