JavaScript Minifier
Minify JavaScript with Terser in your browser. Compress and mangle for smaller bundles.
Runs locally — nothing is uploaded
How to use
- 1
Paste JavaScript
Enter the script you want to compress.
- 2
Minify
Terser loads dynamically and minifies with compress and mangle.
- 3
Copy result
Use the minified output in production bundles.
Frequently Asked Questions
It removes whitespace and shortens names where safe, then shows the compressed output to copy.
No. Minification runs entirely in your browser after you click Minify.
After you paste code and click Minify — there is no automatic run on every keystroke.
A syntax error message appears; fix the script and try Minify again.
Related tools
QR Code Generator
Create styled QR codes for links, Wi‑Fi, contacts, and more. Logo and colors stay in your browser.
Developer Tools
Barcode Generator
Generate CODE128, EAN13, UPC, and CODE39 barcodes from text. Download as PNG.
Developer Tools
JSON Formatter
Format, validate, and minify JSON with clear error messages.
Developer Tools
Base64 Encoder / Decoder
Encode and decode text or images to Base64. Works entirely offline.
Developer Tools