Loading…
Loading…
Real JavaScript minification in your browser via Terser — compress and mangle your code with zero uploads and zero execution.
Loading tool…
Scripts, modules, library snippets — anything syntactically complete. The Terser bundle loads on demand the first time you press the button.
Keep both on for the smallest output. Turn mangle off if you need to debug the result against original variable names, or compress off for a comments-and-whitespace-only pass.
Press Minify JavaScript, wait for the spinner, then copy the output or download minified.js.
Image, PDF, text, calculator and media utilities — all free, all private, all running right in your browser.
Browse the complete toolkitCompress
Drops dead code and simplifies statements — applied on the next run.
Mangle variable names
Renames local variables and arguments to short names.
runs in your browser — nothing is uploaded