Utilix
Developer Tools

HTML Formatter

Pretty-print and minify HTML. Indents nested tags, preserves comments and CDATA.

Paste HTML above to get started.

Files processed in your browser

Your files never leave your device. No upload, no servers.

About HTML Formatter

HTML Formatter expands minified HTML into a readable indented form, or collapses it back to a single line. Works on full pages and snippets. Useful for inspecting compiled HTML, reading templates pulled from the network tab, and prepping markup for documentation.

Frequently asked questions