Paste messy HTML and get it properly indented and nested. Minify to strip whitespace for production. Runs entirely in your browser.
The formatter only reflows tag indentation โ text inside <script> and <style> blocks is kept verbatim. For deep script/CSS formatting, use the JS Minifier or CSS Minifier tools.
No. Everything runs locally in your browser โ your markup never leaves the page.
It strips HTML comments and collapses runs of whitespace, including whitespace between tags. It does not touch quoted attribute values or content inside <pre>.