HTML Escape / Unescape
Escape and unescape HTML special characters such as <, >, and &.
Minify HTML by removing comments, collapsing whitespace, and optimizing attributes.
A tool that compresses HTML files to reduce their size. You can individually toggle options such as comment removal, whitespace collapsing, empty attribute removal, boolean attribute shortening, and inline CSS compression. Useful for improving page load speed and reducing HTTP response size.
Only when the value contains no whitespace or special characters. It is disabled by default for safety. Always verify in your target environment before deploying.
Only line/block comment removal and whitespace collapsing are performed. Variable name mangling is not done. For complex JS, use a dedicated minifier like Terser.
script and style tags are processed only when the inline JS/CSS minification options are enabled. pre, textarea, and code tag contents are always preserved as-is.
No. Conditional comments like `<!--[if IE]>` are preserved even when the remove-comments option is enabled.
No. All processing happens entirely in your browser.