Skip to content
Toolbench

HTML minifier

Remove comments and collapse whitespace in HTML.

Runs on our server

About this tool

Make HTML smaller by stripping comments and collapsing whitespace. Content inside pre, textarea, script and style is left untouched.

How to use it

  1. 1 Paste your HTML.
  2. 2 Select Minify.
  3. 3 Copy the result.

Questions

Do you store what I enter?

No. Your input is processed to give you the result and isn’t saved.

Is this tool free?

Yes. It’s free to use with no sign-up and no limits for normal use.