Free Online JavaScript Minify Tool

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 Ways 1: Copy Your JS Source Code

In this way, 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.

Minify JavaScript Ways 2: Upload Your JS File

In this way, just upload js file which you want to pack. And you will get a mini.js file. Please click the button in the right below to download the zip file with js in.

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, contains jquery, node, AngularJS, Ember, SproutCore, Backbone, Knockout, Spine, CanJS, Meteor, Derby, Yahoo Mojito and so on.
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: IE, Chorme, FireFox, Opera and Safari. You can run the free online js compressor on your Windowns computer (Windowns XP, Windows7, Windowns8, Windows10 and Windowns Server) , Mac (Mac Pro, Mac Book, iMac, Mac Book Air) and Linux.