How to use the HTML Minifier
- Paste your HTML.
- Choose whether to keep comments.
- Copy or download the minified result.
Features
- Inline CSS and JS minified too
- Conservative whitespace collapsing
- Size savings shown
Frequently asked questions
Can minification break my page?
The settings are conservative, but test the result, especially pages that rely on whitespace between inline elements.