HTML Minifier
Minify HTML by removing comments and whitespace in your browser. Free, online, no upload, fully private.
Local processingHow to Use
Enter your input above. The result updates automatically. Use the copy button to copy the result.
Privacy
All processing happens in your browser. Your data is never uploaded to any server.
FAQ
Is my HTML uploaded?
No. Minification happens locally in your browser. Your markup never leaves your device.
Are inline scripts and styles preserved?
Yes. Content inside script and style tags is preserved; only surrounding HTML whitespace and comments are removed.