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

enlive additions to strip whitespace
Last Release on Jul 31, 2014
Google's HTML Compressor for Play Framework 2
Last Release on Jul 11, 2017
Twibs: Utilities
Last Release on Sep 18, 2015
thymeleaf
Last Release on Mar 3, 2021
enlive/enfocus style templating for Facebook's React.
Last Release on Jun 28, 2017
play-frontend-hmrc-play-30
Last Release on Mar 25, 2026
play-frontend-hmrc-play-29
Last Release on Nov 19, 2025
Maven HTMLCompressor Plugin allows to compress html/xml by adding a few lines to the pom file.
Last Release on Feb 5, 2012
play-frontend-hmrc-play-28
Last Release on Mar 18, 2025
Unconventional Java code for building web servers / services without a framework. Think dropwizard but as a seed project instead of a framework.
Last Release on Jun 7, 2025