Beautify messy or minified HTML into clean, indented code.
The HTML formatter turns minified or badly indented HTML into clean, readable code. Choose the indentation and the line width; the CSS and JavaScript inside style and script tags are formatted too.
It's built on js-beautify, the formatter used by many code editors, and runs in your browser with a full code editor.
2 or 4 spaces or tabs.
Formats embedded CSS and JavaScript.
Optional at 80 or 120 characters.
Syntax highlighting for input and output.
No, only whitespace between tags changes; the content stays the same.
Their content is kept exactly as it is.
Use the HTML minifier.