JS Minifier Online
Reduce JavaScript file size before shipping. Terser runs in your tab — nothing is sent to a server.
Same browser tool as Code Minifier.
Drag and drop a file or paste up to 10 MB of code.
All minification and beautification runs locally in your browser. Your code is never uploaded or stored on a server.
About this page
JavaScript minification removes whitespace and applies safe compressions to shrink bundle size for production.
Paste a function, module snippet, or full script file up to 10 MB and review before/after byte counts.
How to use
- Paste code or drop a file into the input area.
- Adjust minify options or switch to beautify mode if needed.
- Copy or download the result and review size statistics.
FAQ
- Does JS minification rename variables?
- This tool keeps names readable by default (mangle disabled) so snippets stay easier to debug after minify.
- Is my code uploaded?
- No. All processing happens locally in your browser.
- Is this tool free?
- Yes. No account is required.