Paste a template, open a local HTML file, or fetch a public page, then switch between readable formatting and compact minification. Indentation, attribute wrapping, line width, newlines, quotes, and raw-content handling are yours to set. The markup is processed in your browser, so nothing is uploaded.
Normalize indentation and attribute wrapping so a pull request shows real changes instead of unrelated whitespace churn.
Turn a dense block exported by a CMS or page builder into indented markup that is easier to review, diff, and edit.
Paste a minified landing page or email template and add structure before tracing selectors, scripts, or hidden comments.
Indent a dense template and make its hierarchy visible without installing an editor extension or a build tool.
Both engines run client-side, so pasted HTML, uploaded files, and fetched pages are not sent to a server for processing.
Set indentation, wrapping, line width, newlines, quotes, and raw-content handling instead of accepting one fixed house style.
Strip comments, collapse whitespace, remove optional tags and safe quotes, and process inline CSS or JavaScript in one pass.
Paste from the clipboard, open a local .html file, or fetch a public URL when the target allows browser access.
Send the output back to the input panel or turn on auto-update to compare formatting choices while you adjust the settings.
Format or minify HTML in the browser, with 13 formatting controls and 11 minification switches.
No. A formatter can put indentation back, but it cannot restore comments, optional tags, attribute quotes, or the author's original line breaks. Keep the readable source in version control and minify only the build artifact.
Formatting adds indentation and line breaks so people can read the markup. Minifying removes comments and unnecessary whitespace so the browser downloads fewer bytes. The first is for editing and review; the second is for the files you serve.
Yes, comments are removed by default. Turn on Preserve comments when comments carry build instructions or conditional markup you still need. Removing comments is one-way: the original text cannot be reconstructed from the minified file.
Paste HTML into the input panel, upload a local .html or .htm file, or fetch a public page whose server allows cross-origin requests.
Formatting controls indentation, wrapping, line width, newlines, quotes, and raw blocks. Minification controls comments, whitespace collapse, optional tags, attributes, CSS, and JavaScript.
Run the action, compare the output with the input, then copy it or download an .html file. Send result back puts the output into the input panel for another pass.
Keep attributes on one line or wrap them automatically, per attribute, aligned, or preserved, with 80, 100, or 120 character guides.
Start from the textarea, a local .html or .htm file, a public http(s) URL, or the built-in sample, then copy or download the result.
Choose one to eight spaces or tabs, and optionally indent the contents of head and body for a conventional document outline.