JavaScript Minifier
Minify JS / ES modules in your browser using Terser. Compression, mangling, and ECMA target are tunable.
Minified (0 chars, −100.0%)
Engine
Powered by Terser, the same minifier that ships with Webpack and Rollup. Settings tune compression aggressiveness, mangling, ECMA target, and whether to keep comments / class names.
Privacy
Everything runs in your browser. Your code is never uploaded.
You might also like
- Escape / UnescapeEscape or unescape strings for JSON, JavaScript, HTML attribute, XML, and SQL contexts.
- JavaScript AST ViewerParse JS with Acorn and explore the ESTree AST as a collapsible tree and raw JSON.
- JS / Node Stack Trace ParserParse V8 and Firefox stack traces into structured frames — function, file, line, column.
- JSON → Code ObjectRender a JSON sample as a literal in JS, TS, Python, PHP, Ruby, Go, Rust, and Java side by side.