JavaScript Minifier Online

Minify JS to reduce file size and speed up page loads. All processing happens in your browser — your code never leaves your device.

JavaScript input

Minification options

Why Minify JavaScript?

100% Client-Side

Your JavaScript is processed locally in your browser. Nothing is uploaded or stored.

Faster Load Times

Smaller scripts download faster and can improve performance for real users.

Configurable Output

Enable compression, name mangling, and optional console removal to fit your use case.

Copy or Download

Copy the minified result to your clipboard or download a ready-to-use .min.js file.

Works Anywhere

Use on desktop, tablet, or mobile — no installation required.

Free Forever

No sign-up, no limits. Minify as often as you need.

How to Minify JavaScript

Three simple steps

  1. 1
    Paste or upload your code

    Paste JavaScript into the editor or upload a .js file to load it instantly.

  2. 2
    Adjust options (optional)

    Toggle compression, name mangling, console removal, and license comment preservation.

  3. 3
    Minify and export

    Click Minify JavaScript, then copy the output or download it as a .min.js file.

JavaScript Minifier FAQ

Is this JavaScript minifier free to use?

Yes. The tool is free with no sign-up and no usage limits.

Is my code private?

Yes. All minification runs in your browser. Your code is not uploaded or saved.

Should I enable name mangling?

Mangling usually makes output smaller. If your code exposes specific global names that other scripts rely on, keep mangling off or test carefully.

Why would I drop console.*?

Dropping console statements can reduce size and avoid leaking logs in production. Keep it off for debugging builds.

Minify JavaScript in Seconds

Free, fast, and private — all in your browser.