Strip comments and whitespace from HTML and CSS to shrink file size.
Shrink HTML and CSS files by removing comments and collapsing unnecessary whitespace. The tool reports the exact character saving so you can judge whether it is worth shipping. JavaScript is deliberately not minified.
Safe JS minification requires a full parser. Regex-based minification can silently break code, so this tool leaves scripts untouched.
Collapsing whitespace between tags can matter for inline elements. Check the output visually before shipping.
No. Everything runs in your browser; nothing is sent anywhere.
Related Tools
Handpicked next steps for this task.