HTML Minifier

Minify HTML safely before launch: remove comments and excess whitespace, preserve script/style/pre/textarea blocks, review byte savings and risk findings, then export a privacy-safe minification QA pack. Runs entirely in your browser.

Ctrl+Enter to run  |  Ctrl+K to switch tools  |  Recent button shows input history

Repeating this work? Turn this kind of browser utility into an API batch, MCP prompt, extension workflow, or shared team recipe.

Buy Pro Browse tool packs

FAQ

How much does minification save?

Typically 5–25% depending on how much whitespace and how many comments your markup contains. The workbench shows actual byte savings for your pasted HTML.

What does the QA pack include?

It summarizes byte savings, preserved raw-text blocks, removed comments, launch-risk findings, and a starter deploy guard without copying your raw page source.

Does it change scripts or styles?

Script, style, pre, and textarea blocks are protected before whitespace is collapsed so whitespace-sensitive content is preserved for safer production review.