Paste your HTML
Real minification with byte-accurate before/after stats. pre, textarea, script and style stay untouched.
Before
0 B
After
0 B
Saved
0 B
Smaller by
0%
Note: whitespace directly between a closing tag and the next opening tag is collapsed, so inline elements that relied on that space (for example a b) render tighter. Content inside pre, textarea, script and style is preserved byte for byte.
Frequently asked questions
Is it safe for my code blocks and scripts?
Yes. Content inside pre, textarea, script and style tags is protected and restored byte for byte. Only comments and collapsible whitespace outside those blocks are touched.
How is the savings percentage calculated?
From real UTF-8 byte counts: (before - after) / before x 100. The before and after sizes are shown so you can verify the math yourself.
Is this tool really free?
Yes. Everything runs in your browser, no signup and no limits. Your data never leaves your device.
Preview
Related free tools
Free Base64 Encoder Decoder
Free Base64 encoder and decoder. Encode text to Base64 or decode Base64 back to text, righ
Free CSS Minifier Online
Free CSS minifier. Remove comments and whitespace from CSS to shrink file size and speed u
Free SHA-256 Hash Generator
Free SHA-256 hash generator. Hash text with SHA-256, SHA-384 or SHA-512 securely in your b