How To Use The HTML Minifier
- Type or paste your text into the box.
- Pick any options you need.
- Copy or download the result.
About This Tool
Shrink HTML by stripping comments and collapsing whitespace between tags. Check your page after minifying if it uses <pre> blocks.
Frequently Asked Questions
Is this tool free?
Yes. HTML Minifier is completely free, with no sign-up and no limits.
Is my data safe?
Yes. Everything runs inside your browser. Nothing you type or upload is sent to a server.