JavaScript Minifier
Minify JavaScript online with Terser — remove whitespace and comments, mangle variable names and compress code. Shows byte savings.
About JavaScript Minifier
Paste JavaScript to shrink it with Terser — the industry-standard minifier used by webpack and Rollup — with optional name mangling and compression passes.
The minification runs entirely in your browser and reports the byte reduction, so proprietary code never leaves your machine.