Compress HTML markup by stripping whitespace and comments. Reduce file size and improve page load speed instantly.
β Free Β· No UploadInstant ResultsPretty Print100% Client-Side
β¨ Minify
Paste HTML below to get started
π‘
100% client-side β your code never leaves your browser. Paste HTML, configure options, and minify instantly.
Input HTML0 bytes
0Characters
0Lines
0 BSize
Output
β¨
Minified HTML appears here
Paste your HTML and click Minify
0Characters
0 BSize
0%Saved
0 BBytes Saved
β Options
Minification Level
Processing Options
Remove HTML comments
Collapse whitespace
Remove blank lines
Minify inline CSS
Remove optional quotes
Lowercase tag names
Output Filename
.html will be appended automatically
βΉ Info
What it does
HTML minification reduces file size by removing everything the browser doesn't need to render the page β comments, extra whitespace, and blank lines.
Smaller HTML files transfer faster and reduce time-to-first-byte.