MENU

Javascript Compressor



You can compress one JS file or combine multiple files to one bigger Javascript.


Original Size: Bytes
Compressed Size: Bytes
You Save:

    JAVASCRIPT COMPRESSOR FAQ

    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.

    WANT TO ACHIEVE MAXIMUM PAGE SPEED?



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

    MORE PAGE SPEED TOOLS

    CSS Optimization Test

    Analyze your CSS to make improvements to the CSS Delivery.

    CSS Compressor

    Minimize CSS scripts and files for page speed.

    Javascript Optimization Test

    Analyzes the Javascript delivery of your web pages.

    Javascript Compressor

    Minify your JS files and scripts to maximize performance.

    GZIP Compression Test

    Check whether your web pages have Gzip compression enabled.

    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.

    Caching Test

    Check how and whether your website files are cached.

    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?

    B
    Base64 Encoder

    Encode JPEG and other files into a Base64 string.

    Keep-Alive Checker

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

    Line Breaks Remover

    Remove line breaks from your scripts to save disk space.

    HTTP Header Checker

    Check the HTTP server header of your site.