HTML Minifier

Remove ordinary HTML comments and trim the outer whitespace while preserving text spacing.

How to use it

Fill in the fields and run the tool. Copy the result directly from this page.

Using the html minifier

Remove ordinary HTML comments and trim the outer whitespace while preserving text spacing.

HTML source

Frequently asked questions

What do I need to use HTML Minifier?

Start with HTML source. Use the units and formats shown beside the inputs.

Do I need to create an account?

No. You can browse and use TinyToolbox’s available tools without an account.

Related tools