YUI Compressor

YUI Compressor

YUI compressor is tool to uglify and minify javascript and css.
This tool doesn’t include concat file feature.

How to use it

It is java jar to run easily.
You can download from YUI Compressor Download
1 file 1 output


java -jar yuicompressor.jar main.js -o main-min.js


java -jar yuicompressor.jar --type css main.css -o main-min.css