Make an HTML document smaller by removing comments and the whitespace between tags. Useful for email templates, embedded snippets and static pages where every kilobyte is sent on each request.
Removes comments and inter-tag whitespace
Keeps the content of pre, textarea, script and style intact
Runs in your browser
Frequently asked questions
Can minifying break my layout?
Whitespace between inline elements can be meaningful. The minifier collapses it to a single space rather than removing it, which keeps inline text spacing correct.