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.
Version2.4.0compared with
Version Details
| 2.3.1 | 2.4.0 | |
|---|---|---|
| Release date | Dec 05, 2025 | May 19, 2026 |
| Licenses | Apache 2.0 | Apache 2.0 |
| Vulnerabilities | None | None |
Compile Changes (5)
| 2.3.1 | 2.4.0 | ||
|---|---|---|---|
| Change | Group / Artifact | Previous | Current |
| ~ Updated | com.google.guava » guava | 33.5.0-jre | 33.6.0-jre |
| ~ Updated | com.google.javascript » closure-compiler | v20250820 | v20251216 |
| ~ Updated | org.mozilla » rhino | 1.8.1 | 1.9.1 |
| ~ Updated | org.slf4j » slf4j-api | 2.0.17 | 2.0.18 |
| ~ Updated | org.slf4j » slf4j-simple | 2.0.17 | 2.0.18 |
Test Changes (3)
| 2.3.1 | 2.4.0 | ||
|---|---|---|---|
| Change | Group / Artifact | Previous | Current |
| + Added | jakarta.el » jakarta.el-api | - | 6.0.1 |
| + Added | jakarta.servlet » jakarta.servlet-api | - | 6.1.0 |
| ~ Updated | org.junit.jupiter » junit-jupiter-engine | 6.0.1 | 6.0.3 |