JavaScript Minifier
Minify JS with terser — the same minifier webpack uses.
Paste, drop a file, or .
How to use javascript minifier
- 1Paste JS
ES5 / ES6+ supported.
- 2Pick options
Compress + mangle gives the smallest output.
Frequently asked questions
- Does mangle break my code?
- Mangling renames local variables only. Exported and global names are preserved.
- Supports ES modules?
- Yes — modern syntax works out of the box.