HTML Formatter
Format and indent HTML for readability, preserving script, style and pre content. Runs entirely in your browser — no uploads.
HTML
Formatted
Advertisement
About this tool
Pretty-print and indent messy HTML so the structure is clear. Great for cleaning up exported or minified markup.
Common use cases
- Re-indent minified HTML for inspection
- Clean up markup copied from a page
- Format an email or template snippet