JavaScript Minifier uses Terser in your browser to compress and optionally mangle JavaScript. Compare original vs minified size, then copy or download .min.js.
JavaScript Minifier
Minify JavaScript Free
Compress JavaScript with Terser, optionally mangle names, and see how many characters you saved - fully local.
Loading tool…
Need AI study tools beyond code utilities? Try Studix free today.
No credit card required
What is this?
How it works
1. Paste JavaScript or upload a .js file.
2. Choose compress, mangle, comments, and module options.
3. Click Minify JavaScript.
4. Review savings, then copy or download.
Features
- Terser-powered minification
- Compress and mangle options
- Size savings stats
- Copy and download .min.js
Benefits
Shrink scripts for faster pages and smaller study demos.
Trust & privacy
Your code is processed only in your browser. Studix does not upload or store it for this tool.
Frequently asked questions
No. Minifying runs entirely in your browser with Terser.
Yes, if your code depends on external property names. Disable Mangle names when unsure.