Skip to content

HTML Minifier

Strip comments and whitespace from HTML.

Embed this tool on your site

Free — a link back to LoopStook is included.

What is the HTML Minifier?

Minify HTML online for free. Remove comments and collapse whitespace to shrink your markup.

How to use the HTML Minifier

  1. 1

    Add your text

    Paste or type your content into the HTML Minifier.

  2. 2

    Set any options

    Adjust the available options to fit exactly what you need.

  3. 3

    Copy or download the result

    The output is generated instantly in your browser — copy it or download it. Nothing is uploaded to a server.

Frequently asked questions

Is the html minifier free?

Yes — it runs entirely in your browser, so it's free, private, and instant. Nothing is uploaded.

More free tools

No signup, no limits — jump straight into another tool.

Browse all

From other sheets

Stick it all together.

Drop your downloads, cut-outs and captions into Design Studio, pick a template and export for social or print.

Open Design Studio