100% PrivateBrowser Execution✦ No Limits

JavaScript Minifier

Minify and compress JavaScript with Terser. Free, no sign-up, files never leave your device.

🔒 Everything runs in your browser; nothing you paste is sent anywhere.

How it works

  1. Paste JavaScript or pick a .js file.
  2. Click Minify.
  3. Copy or download the minified code.

Make your scripts smaller and faster to load. This uses Terser, the minifier behind most build tools, to compress code, shorten local variable names and remove comments, while keeping /*! license */ comments. Modern JavaScript (ES2015+) is supported.

Frequently asked questions

Which minifier is used?

Terser, the same engine used by webpack, Vite and many other tools.

Is my code uploaded?

No. Terser runs in your browser.

Related tools