Skip to content

HTML Formatter

Re-indent HTML markup so nesting is easy to read.

Runs locally · Nothing uploaded
HTML input
Formatted HTML
Result will appear here…
Advertisement

About HTML Formatter

Formats HTML with consistent indentation, one element level per step, making minified or copy-pasted markup readable again. Inline elements and preformatted content are treated sensibly so formatting does not change rendering. Works on fragments as well as full documents.

Related tools

All tools · More in this category