Developer
HTML Formatter
Paste HTML to re-indent it. Nested elements are pushed one level deeper so the structure of the page becomes obvious.
Good to know
Frequently asked questions
Will it change how my page renders?
No. Only whitespace between tags changes, and whitespace-sensitive elements are preserved.
Is my HTML uploaded?
No. Everything runs locally in your browser.
Does it fix broken HTML?
No. It formats what you give it; it will not close missing tags for you.
Can I minify instead?
Yes — use the HTML Minifier tool.