Online Javascript Compression Tool

Multiple file uploads will be combined in order and compressed together as one file.

+ Add Another File

Stats: 0% compression, saving 0 kb

What Is This?

JSCompress.com is an online javascript compressor that allows you to compress and minify your javascript files. Compressed javascript files are ideal for production environments since they typically reduce the size of the file by 30-80%. Most of the filesize reduction is achieved by removing comments and extra whitespace characters that are not needed by web browsers or visitors.

Why Would I Want To Compress Javascript?

There are a number of reasons why compressing your javascript files is a good idea:

  • Quicker download times for your users.
  • Reduced bandwidth consumption of your website.
  • Reduced number of HTTP requests on your server when combining many javascript files into one compressed file, thus reducing the server load and allowing more visitors to access your website.
  • Comments and whitespace are not needed for javascript execution; Removing them will reduce file size and speed up script execution times.

What Javascript Compression Method is Used?

JSCompress.com uses UglifyJS2 for all javascript minification and compression.

Service developed and provided by Vance Lucas (@vlucas)

Powered by Node.js and UglifyJS 2. Source code on GitHub.