HTML Formatter
Re-indent HTML with proper nesting for readable source, using a tag-aware tokeniser that respects pre, textarea and inline elements.
How to use HTML Formatter
- Paste HTML
- Format
- Copy the clean output
Supported formats
HTML → Formatted HTML. Part of LuvTools’ Developer Tools.
Frequently asked questions
Inline tags kept?
Yes — a, span, b and friends stay inline.
Minify instead?
Use CSS Minifier for styles.