StringBuilderize.com

Turn your static HTML into ASP.NET StringBuilder code.
Converts your static html code into ASP.NET code that produces the html through a StringBuilder object.

Preserve Formatting*: No Yes Somewhat
ASP.NET Lines: All on one Line Separate Lines

       

*Preserve Formatting

No - All content produced by the StringBuilder will be on one line with no spaces, tabs or carriage-returns (best performance).
Yes - Tabs, spaces and carriage-returns will be preserved by the StringBuilder code output.
Somewhat - Carriage-returns will be preserved, but tabs and spaces will be removed.

Example

stringbuilder example