JavaScript Minifier
JavaScript Minifier is a tool to minify or compress your JavaScript code with optional mangling.
Compress Only
Only compresses your original JavaScript code, no mangling (switching keywords for variables, function names, etc.) is involved.
Mangle Inner Scope
Compresses your original JavaScript code and does inner scope mangling. The mangle will be applied to variables and whatnots within function block(s), but each of outest (top level) function name itself will stay intact. Lesser size than Compress Only option.
Mangle Top Level
Compresses your original JavaScript code and mangles everything. This option should produce the smallest size of compressed code compared to the prior options.
Unicode
Each option automatically converts the Unicode character from the JavaScript code to Unicode escape sequence.
For example:
The Unicode character ✅ will be outputted as Unicode escape \u2705
.