HTML Formatter

Pretty-print HTML so nested elements line up. Output is shown as text in the editor — it is never injected as a live page.

Result

Paste code, then Format. Processing stays in your browser.

Related tools

FAQ