Since my latest post about CSS Compressor, I’ve been searching to find the similar one for javascript and I got this YUI Compressor. YUI is javascript library developed by Yahoo and YUI Compressor is one of their experiment. YUI Compressor is written in Java but there is an option to use it online.

YUI Compressor

YUI Compressor


You can visit http://www.refresh-sf.com/yui/. In this website, you can paste your javascript code or choose it directly from your computer. There are many options of compressing you can set such as you can choose just minify or obfuscate the file. I tried it with my javascript file and the result is

YUI Compressor - Result

YUI Compressor - Result

I got 61% compression ratio. Wow! Beside javascript, you can also compress CSS files here. ^^

Tags: , ,

2 Responses to “YUI Compressor – A Javascript and CSS Compressor”

  1. kompresor says:

    Thanks for this article. kompresör

  2. deerawan says:

    you’re welcome brother. Thank you for visiting deerawan.com

Leave a Reply

hide totop