JavaScript Minifier

Make JavaScript smaller with Terser.

How to use the JavaScript Minifier

  1. Paste your JavaScript

    Modern syntax works.

  2. Choose the options

    Shorten names and simplify code.

  3. Copy the result

    See how much smaller it got.

Questions

Is it really free, with no sign-up?

Yes, completely. There's no sign-up, no login and no daily limit: just open the page and start. It works in your browser on any computer, phone or tablet with nothing to install, and your files are never uploaded — everything happens on your device.

Is my data sent anywhere?

No. Everything runs in your browser, on your device — nothing you paste or open is uploaded.