Minify and improve the performance of JS code.
The JS minifier compresses JavaScript by removing whitespace, comments and dead code, and by shortening local variable names. It uses the Terser engine, the same one used by most modern build tools, and runs entirely in your browser.
Smaller scripts download and parse faster, which improves page speed metrics such as Largest Contentful Paint and Interaction to Next Paint. Minify your code before deploying, and keep the original version for development.
Reliable, production grade minification and mangling.
Invalid code is reported with its line and column.
Your code never leaves your browser.
Copy the result straight to your clipboard.
No. Minification keeps the behavior of the code, it only makes it smaller.
Typically 30% to 60%, and even more once the server compresses it with gzip or Brotli.
No, the minification runs locally in your browser.
Yes. Keep readable source code for development, and serve the minified version to visitors.