Sign up for our newsletter and receive a free copy of our book .NET Web Application Logging Essentials
"What a great idea, ELMAH (Error Logging) for .NET in the cloud."
Tabs vs spaces, download file, and more
Popular C# editors like Visual Studio, Code, and Rider all have excellent support for formatting C# code. But sometimes you just need to quickly format an entire file or parts of it to use as input for a Stack Overflow question or similar. This is where our free C# formatter can help.
Paste some ugly, unformatted code in the textarea above and get instant formatted C# code. You can even use this page as an online editor to write C# and the code will be continuously formatted while you write. This makes it a popular alternative to LINQPad and similar (and awesome) tools to quickly put some code together.