JavaScript Minifier uses Terser in your browser to compress and optionally mangle JavaScript. Compare original vs minified size, then copy or download .min.js.
JavaScript Minifier
Minify JavaScript Free
Compress JavaScript with Terser, optionally mangle names, and see how many characters you saved - fully local.
Loading tool…
Need AI study tools beyond code utilities? Try Studix free today.
No credit card required
What is this?
How it works
1. Paste JavaScript or upload a .js file.
2. Choose compress, mangle, comments, and module options.
3. Click Minify JavaScript.
4. Review savings, then copy or download.
Features
- Terser-powered minification
- Compress and mangle options
- Size savings stats
- Copy and download .min.js
Benefits
Shrink scripts for faster pages and smaller study demos.
Trust & privacy
Your code is processed only in your browser. Studix does not upload or store it for this tool.
Frequently asked questions
No. Minifying runs entirely in your browser with Terser.
Yes, if your code depends on external property names. Disable Mangle names when unsure.
Free tools
Browse every free Studix preview — open any tool and try it instantly.
- EXIF Viewer
View & Strip EXIF
Inspect every EXIF, IPTC, and XMP tag, edit JPEG fields, strip privacy data, or download a clean copy - all in your browser.
- Image Steganography
Hide Text in Images
Embed secret text in PNG pixels with LSB steganography, or extract hidden messages - free and local.
- Base64 Encode Decode
Base64 Encode / Decode
One tool for Base64 encode and decode with full UTF-8 support for Arabic, emoji, and symbols - fully local.
- CSV to JSON
CSV to JSON Free
Upload or paste CSV and get pretty-printed JSON instantly with PapaParse - fully local.
- Base64 Validator
Validate Base64 Free
Check Base64 or Data URLs for invalid characters, length, padding, and decodeability - live as you type.
- mcq_two_answers
Two-Answer MCQ from PDF
Upload a sample document and generate two-answer quizzes from it in minutes. This demo shows how StudixZone turns your study material into questions where exactly two options are correct — no signup required to explore.
- CSV Generator
Create CSV Online Free
Write columns and text templates, fill rows, preview, then download a CSV offline.
- XML to JSON
XML to JSON Free
Paste or upload XML and get structured JSON instantly using DOMParser - fully local.
- SHA256 Hash Generator
SHA256 & MD5 Hash
Hash text with MD5, SHA-1, SHA-256, SHA-384, or SHA-512 using Web Crypto and SparkMD5 - fully local.
- images
PDF to Study Infographics
Upload a sample document and create infographic templates from it in minutes. This demo shows how StudixZone turns your study material into visual study poster briefs from your notes — no signup required to explore.
- Image to Base64
Image to Base64 Free
Upload PNG, JPG, GIF, WebP, SVG, or BMP and get a Data URL plus raw Base64 instantly - fully local.
- JSON to CSV
JSON to CSV Free
Paste or upload JSON and get a clean CSV file instantly. Arrays of objects become spreadsheet-ready rows - fully local.