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.

Runs in your browser Nothing uploaded Free, no signup

Everything stays in this browser

HTML Minifier: questions

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.

Made something with AI? Share it as a private link.

Drop in the HTML from Claude, ChatGPT or any editor and get a link your client can open anywhere — with a password, view tracking, comments and approval.