How to minify JavaScript
- Paste your code or open a .js file.
- Choose options such as mangle names or remove console.
- Copy the result or download a .min.js file.
Supports modern JavaScript (ES2020+) and ES modules.
Minify JavaScript with Terser: shorten names, compress code and see size and gzip savings.
🔒 Minified in your browser with Terser — your code is never uploaded.
Supports modern JavaScript (ES2020+) and ES modules.
Terser keeps your code working. If your code relies on function names at runtime, turn off Shorten names.
No. Terser runs in your browser.
Convert Markdown to clean, sanitized HTML with a live preview. Supports tables and task lists.
Open Tool →