Update: Use this minifier at jscompress.com. It does a better job.

Simple script to minify your javascript utilizing JSMin.

Many times, I find myself needing to preserve copyright information even after minification, so I modified the algorithm to maintain "important comments" of the form:

/*!  */

Input

Processing...

Result

No input or output data is stored locally or forwarded to any external service.

Credit: JSMin algorithm by Douglas Crockford. jsmin-php port by Ryan Grove.

Photo of Carl

About Carl

Web Programmer. Shutterbug. New Father. Enjoying life in New Zealand.

Read more

Facebook  LinkedIn  Twitter

Recent Activity

Photo Tags

Tags

Archives

Utilities