Skip to content
ToolInstant

JavaScript Minifier

Local

Minify JavaScript with Terser: removes whitespace and comments, compresses code and optionally shortens variable names. Shows syntax errors with line numbers.

Loading tool…

Ready · Runs in this browser · nothing uploaded

Developer tools · Free · No upload · No sign-up

How to use the javascript minifier for free

  1. 1Paste your JavaScript.
  2. 2Choose whether to shorten variable names.
  3. 3Copy or download the minified code.

Also useful for: minify js, uglify js, terser online, compress javascript.

  • Completely free, no account needed
  • Your data never leaves your device
  • Works on desktop and mobile

Frequently asked questions

Is this JavaScript minifier free?+

Yes. Every tool on ToolInstant is free to use with no sign-up and no limits on how often you use it.

Is my data uploaded anywhere?+

No. Everything is processed inside your browser using JavaScript. Your input never leaves your device.

Does it work on mobile?+

Yes. ToolInstant works in any modern browser on phones, tablets and desktops.