Minify JavaScript

Use this online tool to minify JavaScript code.
Paste your JS code to be minified.

Enter JavaScript code:

Download minified code

It will remove from JavaScript code the unnecessary whitespaces, indentation, tabs, comments and new lines. It is important to minify javascript code if your code is large and need to improve code download speed (page load time). The conversion is done by the server using "JavaScript::Minifier" Perl tool. It will not obfuscate the code (will not convert variable and function names to unintelligible characters nor will encrypt the resulting code).

Note: If you want a JAVASCRIPT UNMINIFIER (that is the oposite of this page) then use the Javascript Unminifier Tool.

More about this service:

Tip: Edit your javascript code online, just type "" in your browser (Javascript online editor)