What gets removed
Minification strips comments and collapses runs of whitespace between elements. Whitespace inside <pre> and <textarea> is significant, so those blocks are preserved exactly.
Frequently asked questions
Is it safe for inline JS/CSS?
Whitespace collapsing does not touch script or style contents beyond comment removal — review output before shipping.
How much smaller?
Typical templates shrink 5–25% depending on indentation depth and comment volume.
Does it fix broken HTML?
No — it minifies valid input; it does not repair mismatched tags.