How to use it
Minify HTML: collapse whitespace, drop comments, unquote attributes and minify inline JS and CSS, while pre, textarea and scripts stay intact. Paste HTML above and select the whitespace and attribute changes to apply.
Example
Input: <p class="note"> Hello </p>
Output: <p class=note>Hello</p>Limits and behavior
- Review changes to optional tags and inline scripts before publishing.
- Input is limited to 1 MiB of UTF-8 text.