Minify HTML
Remove ordinary comments and redundant indentation between structural tags. Whitespace-sensitive content and inline spacing are preserved where possible.
Minify source, beautify its structure, decode encoded values, or remove selected unwanted code. Fetch a public URL, paste or upload HTML, then review your output before downloading. Fetch and stylesheet scans are processed temporarily on the server; pasted HTML stays in your browser.
Choose Minify, Beautify, Decode & Clean, or Remove Unwanted. Preview Before and After without running scripts.
Remove ordinary comments and redundant indentation between structural tags. Whitespace-sensitive content and inline spacing are preserved where possible.
Indent structurally safe blocks without rewriting scripts, styles, or inline text. Unlike a full HTML parser, it does not silently fix malformed markup.
Decode HTML entities for readability and transform literal atob("...") calls. Other recognizable Base64 values are listed for inspection, not blindly replaced.
Scan internal and up to four external stylesheets, detect static JS selector problems without deleting JS, and optionally remove unused class names or inline CSS rules, comments, and empty containers.
Yes. Custom CSS and entities can make whitespace or escaping significant. The result is separate from your source so you can inspect it before using it.
No. Data URLs and unknown encoded strings remain untouched. Where supported, readable decoded values are shown in the findings list, while literal JavaScript atob calls can be transformed.
Pasted/uploaded HTML is processed in your browser. Fetch URL and CSS scan temporarily use a memory-only PHP fetch endpoint; no copies of HTML or CSS are stored in application files or database. Standard HTTP access logs may exist.