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 htmlcompressor version 2.0.1 (3)
Sort by:Popular

A set of utilities and reusable code
Last Release on Jul 3, 2024
An HTML compiler, with maven plugin
Last Release on Oct 16, 2024
Maven HTMLCompressor Plugin allows to compress html/xml by adding a few lines to the pom file.
Last Release on Jun 16, 2026
  • Prev
  • 1
  • Next