HTML Beautifier
Paste minified or messy HTML to get clean, indented markup.
How to use the HTML Beautifier
- 1 Paste your HTML.
- 2 It is re-indented and formatted instantly.
- 3 Copy the clean HTML.
About the HTML Beautifier
Minified or hand-mangled HTML is hard to read. This beautifier re-indents tags, puts elements on their own lines and produces consistent, readable markup.
It uses the js-beautify library running in your browser, so nothing is uploaded.
Frequently asked questions
Will it change my markup?
Only whitespace and indentation change; the structure and content stay the same.
Can it minify too?
Use the HTML Minifier for the reverse operation.