HTML Beautify/Minify
Beautify or minify HTML source code. Choose readable indentation or compact output for your development workflow.
How to use
- Paste your input or load the example below.
- Adjust the options, then select “Format HTML”.
- Review the result, then copy or download it.
No uploads. No account. Processing stays in your browser.
Example input
<div><p>Hi</p><br><span class="a">x</span></div>