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.
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.