JavaScript Minifier
Minify JavaScript by removing whitespace, shortening variable names and stripping dead code where safe.
Your data is processed locally in your browser
How to Use the JavaScript Minifier
- 1Paste your JavaScript.
- 2Click Minify.
- 3Copy or download the compressed output.
Frequently Asked Questions
What minifier does this use?+
It uses Terser, the same minifier used by most production JavaScript build pipelines.
Could minifying break my code?+
Terser is production-grade and safe for standard JS, but always test minified output before deploying.