JavaScript Code Compressor

This tool compresses or minify JavaScript codes. It reduces the code size by removing the unnecessary data, such as extra spaces, line breaks, comments and indentation. It does not modify or recode the codes - it means that after the compression, the script will run perfectly just like the original algorithm.

paste JavaScript code here and Compress

Optimize / Minify Clear
Normal: Strip comments and leading white spaces Semi-Compact: Remove lines in algorithm Compact: Remove more lines and make the algorithm inline if possible.