JavaScript Minifier is an online javascript compressor that allows you to uglify and combine your javascript files for free. While loading a html in the browser, a large js code(current in the html or in the external reference js file) will cause the html page open and show slowly. Compressing javascript will reduce the js file size, saving at least 20% space, which make your html page load faster.

Minify JavaScript: Copy Your JS Source Code

Just copy the js code which you want to pack. And paste it to the left textarea, then click the minify button, the minified js code string will appear in the right textarea.

  

Online JavaScript Minifier Features

Based on Yahoo Yui Compressor control, provide the best compressing and minifying of javascript.
Combine all javascript function(substring, replace, alert, etc), event(include onclick, onload, onchange, etc), property, class, array, object, regex and so on.
Support all popular javascript framework.
Removes and trim useless white spaces, indentation characters, newlines, and comments. This is the most obvious space-savings that all compressors accomplish.
Removes all unnecessary semi-colons. For example, semi-colons are not needed before closing braces (}).
Reduction and obfuscation of local variable names. It will reduce the long variable names to a shorter one.
Compact layout and shorter variable names make the js difficult and hard to read, reverse engineer or copy. So that you can use it to obfuscate your js code.
Faster download speed for your users.
Reduced bandwidth consumption of your website. Reduce the HTTP requests on your server, so that more visitors can access your website.
Compressed js is valid, and can be compatible with all the dominant browser. You can run the free online js compressor on your Windowns computer, Mac and Linux.