A comment and loose spacing
- HTML to minify
- <p> Hi </p> <!– c –> <b>x</b>
- Remove HTML comments
- Yes
- Remove whitespace between tags
- Yes
Result Minified HTML: <p> Hi </p><b>x</b>
Original size (bytes): 33
Minified size (bytes): 19
Bytes saved: 14
Size reduction: 42.4%
Comments removed: 1
- Protected 0 pre, textarea, script or style block(s) from changes.
- Removed 1 comment(s); conditional comments are kept.
- Collapsed whitespace and removed gaps between tags, dropping 4 character(s).
- Size: 33 bytes → 19 bytes, a saving of 42.4%.
The comment goes, double spaces become one and the line breaks between the two tags disappear, cutting 33 bytes to 19.