HTMLMinifier
JSON →HTMLMinifier is a highly configurable, well-tested JavaScript-based HTML minifier that reduces HTML size by removing unnecessary spaces, comments, and attributes. The current stable version is 4.0.2, with regular updates via npm. It offers extensive options (e.g., collapseWhitespace, removeComments, minifyCSS, minifyJS) for fine-grained control over minification. Unlike alternatives like html-compressor or minimize, it handles inline CSS/JS compression and runs in the browser. Released since 2011, it remains a go-to tool for optimizing HTML for production with a focus on safety and performance.
Traffic · last 30 days stale · no recent hits
total hits 8
actors 2 distinct systems
last hit 17d ago AhrefsBot
top countries 🇸🇬 Singapore · 🇺🇸 United States · 🇨🇦 Canada · 🇬🇧 United Kingdom
Resources
packagehtml-minifier-browser ↗
API endpoints
full doc /v1/registry/html-minifier-browser