• Paste Text
  • Upload Files
  • New Compression
  • Minimized
Demo
0
or drag them here.
% compression, saving kb

Online JavaScript Compressor - Code Minimizer

This free online JavaScript Compressor will let you minimize your scripts to optimize the loading time of web pages.

Copy-paste your source into the syntax-highlighted JavaScript editor with the "Paste text" tab open or upload multiple files in the second tab. Click the Minimize button to get the shrinked (and joined) scripts. Copy or download the resulted code into a .js file, overwriting the old content.

Visit the JS Cheat Sheet to learn about this programming language and to find useful code snippets.
For example add this line to your HTML head section to include an external file:
<script src="myfile.js"></script></code>

JS Compress

The credit for the open-source minimizer algorithm goes to JSCompress, which can be downloaded from GitHub. The program is absolutely free and open source.