Javascript Compressor

An error occured

Java is not installed or an invalid Path was provided.
See inc.php to change java path


This online Javascript compressor can take your Javascripts and automatically detect and remove unnecessary code you do not really need to display your web pages in the exact same manner. It also minifies unnecessary large JS scripts into smaller scripts.

By removing or minifying code in your scripts it reduces the script size. Having smaller sized JS scripts and files means your visitors can load your web pages faster because they need to download less data when loading your web pages.

Yes, click on the UPLOAD & COMPRESS FILE(S) tab and choose the JS file you want to compress. Click on the red Select More Files link to upload more than one file. When you choose to upload and compress multiple JS files they will be combined into one bigger script.

That is up to you to decide. When you click the ADD LINE BREAK AFTER EVERY { } STYLE option you can make it readable by forcing the compressor to add a line break after every CSS rule. Even though the size difference is minimal keep in mind that when you want the smallest of the smallest of Javascripts you should not use this option.


Let us take care of your website performance as we've taken care of our own:
to learn more


Website Speed Test

Test and analyze the loading times of your website.

CSS Compressor

Minimize CSS scripts and files for page speed.

Caching Test

Check how and whether your website files are cached.

GZIP Compression Test

Check whether your web pages have Gzip compression enabled.

Javascript Compressor

Minify your JS files and scripts to maximize performance.

Image Optimization Test

Tests your image delivery so you can improve it.

PNG Compressor

Reduce your PNG image filesize while keeping quality.

JPEG Compressor

Play with the quality and size of JPEGs to save disk space.

CSS Sprites Generator

Place multiple images in one image to make fewer requests.

CSS Optimization Test

Analyze your CSS to make improvements to the CSS Delivery.

Javascript Optimization Test

Analyzes the Javascript delivery of your web pages.

Broken Links/Requests Test

Test your web pages for broken links and requests.

HTTP Requests Checker

How many HTTP requests do your web pages produce?

Base64 Encoder

Encode JPEG and other files into a Base64 string.

Keep-Alive Checker

Check whether your website has keep-alive settings as enabled.

HTTP Header Checker

Check the HTTP server header of your site.