HTML Minifier

Strips HTML comments and collapses whitespace to reduce file size. Shows before/after byte counts and savings percentage. Note: whitespace-only minification — does not parse or minify inline script or style blocks. Runs in your browser.

Related tools