HTML Minifier
Remove comments and unnecessary whitespace to shrink HTML, without touching pre, script or textarea content.
Why use this tool?
Shrink HTML by removing comments and extra whitespace, while leaving pre, script, style and textarea content untouched.
How to use it
- Paste your HTML.
- Click Minify.
- Copy the smaller HTML.
Related tools
- QR Code Generator - Create QR codes for links or text and download them as PNG or SVG.
- QR Code Scanner - Decode QR codes from an uploaded image or your camera, right in your browser.
- Robots.txt Generator - Build a valid robots.txt with crawl rules for search engine bots.
- Broken Link Checker - Find broken links on a web page or in pasted text, with each link's HTTP status code.
- URL Shortener - Create short kitloop.io links that redirect to any URL, with click counts (free account required).
- URL Encode/Decode - Percent-encode text for safe use in URLs, or decode percent-encoded URLs back into readable text.