How To Use The JavaScript Minifier
- Paste your JavaScript.
- Choose the options.
- Minify and copy the result.
About This Tool
Shrink JavaScript for faster websites using Terser — the same minifier used by modern build tools. Removes whitespace and comments, shortens variable names, optionally drops console.log, and shows how much smaller your file became.
Frequently Asked Questions
Is this tool free?
Yes. JavaScript Minifier is completely free, with no sign-up and no limits.
Is my data safe?
Yes. Everything runs inside your browser. Nothing you type or upload is sent to a server.