10+1 Crazy JavaScript Compressor Tools

By Sam Deering

Without a doubt Ajax applications are becoming more powerful by the day. That also means that JavaScript files are getting bigger and more complex. So lets look at some ways to cut down on bandwidth and memory by compressing JavaScript files. The browser doesn’t need the nicely formatted JavaScript with white space and comments so we can remove these. Check out our 10+1 crazy JS compressor tools. Have fun!

Related Posts:

1. JsMini

Online JavaScript and jQuery Minifier Tool. Minify your JS code, free and simple to use, lightning fast compression.


Source + Demo

2. ExtDoc – JavaScript Comments Processor

ExtJS library has a specific JavaScript documentation style – ExtDoc parses JavaScript source files and creates template-based output. Support for custom tags and fully templated output.

ExtDoc - JavaScript Comments Processor


3. JsDoc Toolkit

It is an application written in JavaScript, for automatically generating template-formatted, multi-page HTML (or XML, JSON, or any other text-based) documentation from commented JavaScript source code.

JsDoc Toolkit


4. jGrouseDoc

Allows developers manage and document code comments using a format similar to Javadoc’s. Allows documenting of JavaScript classes, regardless which approach or framework is being used for it – be it Prototype, Dojo, jGrouse or any other.



5. Fiddler

It is a Web Debugging Proxy which logs all HTTP(S) traffic between your computer and the Internet. Fiddler allows you to inspect all HTTP(S) traffic, set breakpoints, and “fiddle” with incoming or outgoing data.



6. Tamperdata – Firefox Extension

View and modify HTTP/HTTPS headers and post parameters, trace and time http response/requests and security test web applications by modifying POST parameters.

Tamperdata – Firefox Extension

Source + Demo

7. Packer – JavaScript Compressor

One of the most widely used tools to minify JavaScript code is Dean Edwards’ Packer. The packing algorithm is forgiving of all forms of JavaScript with one exception. You must correctly terminate all JavaScript statements with semi-colons.

Packer – JavaScript Compressor


8. ShrinkSafe

Is a JavaScript “compression” system. It can typically reduce the size of your scripts by a third or more, depending on your programming style.



9. YUI Compressor

It is a JavaScript minifier designed to be 100% safe and yield a higher compression ratio than most other tools. Also able to compress CSS files.

YUI Compressor


10. JS Minifier

Code is pre-filled with an example.

JS Minifier

Source + Demo

11. JavaScript Compressor

Does a straighforward whitespace/comment crunching and a more fundamental transformation, aka compression.

JavaScript Compressor

Source + Demo

Free Guide:

7 Habits of Successful CTOs

"What makes a great CTO?" Engineering skills? Business savvy? An innate tendency to channel a mythical creature (ahem, unicorn)? All of the above? Discover the top traits of the most successful CTOs in this free guide.

No Reader comments

Because We Like You
Free Ebooks!

Grab SitePoint's top 10 web dev and design ebooks, completely free!

Get the latest in JavaScript, once a week, for free.