HTML to C# StringBuilder Generator

Usage

1. Paste your HTML string in the first textarea.

2. Click the "Format HTML" button.

3. The formatted output, starting with StringBuilder sb = new StringBuilder();, will appear in the second textarea.

Format HTML