Compress and mangle JavaScript with Terser for smaller, faster bundles.
JavaScript minification reduces the size of your JS files by removing whitespace, renaming variables to shorter names (mangling), removing dead code, and applying various code optimizations — all while keeping the code functionally identical.
Our tool uses Terser — the same compressor used by Webpack, Vite, and esbuild — with both compress and mangle options enabled for maximum compression.
Function.prototype.name or specific variable names at runtime may behave differently after mangling. Always test minified code before deploying to production.