How to use the JavaScript Minifier
- Paste your JavaScript.
- Choose whether to mangle names and keep comments.
- Copy or download the result.
Features
- ES2015+ support
- Name mangling
- Syntax errors with line and column
Frequently asked questions
Is mangling safe?
Yes for normal code. Disable it if other scripts access your functions by name through strings.