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.

Compile Dependencies (4)

Category/LicenseGroup / ArtifactVersionUpdates
JS Processor Apache 2.0
com.google.javascript » closure-compiler(optional)
Closure Compiler is a JavaScript optimizing compiler. It parses your
r1459v20260804
com.yahoo.platform.yui » yuicompressor(optional)
The YUI Compressor is a JavaScript compressor which, in addition to removing
2.4.8
Logging MIT
org.slf4j » slf4j-api
API for SLF4J (The Simple Logging Facade for Java) which serves as a simple facade or abstraction for various logging ...
1.7.212.0.18
Logging MIT
org.slf4j » slf4j-simple
Binding/provider for SLF4J, which outputs all events to System.err. Only messages of level INFO and higher are printed.
1.7.212.0.18

Provided Dependencies (2)

Category/LicenseGroup / ArtifactVersionUpdates
Java Spec EPL 2.0 +1
javax.servlet.jsp » javax.servlet.jsp-api
Jakarta Pages defines a templating technology for dynamically creating web resources
2.3.2-b024.0.0
Template Engine Apache 2.0
org.apache.velocity » velocity1 vulnerability
Core module of Apache Velocity, a Java-based template engine for generating text output.
1.72.4.1

Test Dependencies (1)

Category/LicenseGroup / ArtifactVersionUpdates
Testing EPL 2.0
junit » junit1 vulnerability
JUnit Jupiter is the API for writing tests using JUnit 5.
4.126.1.3