HtmlCompressor is a small, fast and very easy to use Java library that minifies given HTML or XML source by removing extra whitespaces, comments and other unneeded characters without breaking the content structure. As a result pages become smaller in size and load faster. A command-line version of the compressor is also available.

Artifacts using HTML Compressor and Minifier (64)
Sort by:Popular

freemarker
Last Release on Mar 3, 2021
twirl
Last Release on Mar 3, 2021
freemarker
Last Release on Oct 30, 2019
twirl
Last Release on Oct 30, 2019
Google's HTML Compressor for Play Framework 2
Last Release on May 7, 2020
This plugin minifies CSS and JavaScript either embedded in or reference by HTML files.
Last Release on Feb 23, 2015
This Maven plugin processes HTML, CSS and JS resource files and minifies them.
Last Release on May 3, 2020
WUIC HTMLCompressor
Last Release on Aug 8, 2015
Java Web Development Framework
Last Release on Feb 8, 2015
Java Web Development Framework
Last Release on Jun 18, 2025