JavaScript Minifier
Minify JavaScript with Terser, with optional compression and name mangling, on your device.
Private — processed on your device
Interactive workspace
◆ Private on-deviceUse JavaScript Minifier
Runs in a background worker on your device
Frequently asked
- Which minifier is used?
- Terser, running in a background worker on your device.
- What do compress and mangle do?
- Compress rewrites code into shorter equivalents; mangle shortens local variable names.
- Is there a size limit?
- Up to 2 MB of JavaScript.
Related tools
JSON Formatter & Validator
Format, prettify, compact, validate syntax errors, and inspect JSON with clean indentation.
Developer ToolsOn your device
Base64 Encoder / Decoder
Encode plaintext or decode Base64 strings safely with UTF-8 support.
Developer ToolsOn your device
URL Percent Encoder / Decoder
Safely encode special characters for query parameters or decode percent-encoded URLs.
Developer ToolsOn your device
HTML Entity Encoder / Decoder
Escape HTML tags and special entities (<, >, &, ") or unescape them.
Developer ToolsOn your device