Monday, June 27th, 2005

Jazmin and JavaScript Minifier

Category: Utility

A blast from the past here. A lot of people are not aware of Douglas Crawford’s JavaScript Minifier which does what it says on the box:

JSMin is a filter which removes comments and unnecessary whitespace from JavaScript files. It typically reduces filesize by half, resulting in faster downloads. It also encourages a more expressive programming style because it eliminates the download cost of clean, literate self-documentation.


jsmin yourjsfile.js condensed.js

There has been a more recent port to C#, called Jazmin.

Posted by Dion Almaer at 11:13 am

4.1 rating from 8 votes


Comments feed

hi dion,

Thanks. was looking for something like this for a while now.

Is there something similar to ProGuard( Java class file shrinker and obfuscator) in javascript that is plug and play(commercial/otherwise). I’m thinking that we can reduce the size of javascript objects by decent obfuscation ?


Comment by Anjan Bacchu — June 27, 2005

A simple online javascript minifier/obfuscator can be found at

This is based on dojo’s shrinksafe

Comment by magnoli8575 — December 24, 2008

Leave a comment

You must be logged in to post a comment.