Input HTML
Minified Output
About This Tool
HTML minification removes comments and collapses whitespace to reduce file size. This minifier is content-safe: the contents of pre, textarea, script, and style tags pass through untouched, and conditional comments are preserved. Smaller HTML files load faster and improve page performance.