← Browse all tools
Developer
JavaScript minifier
Minify JavaScript with Terser to reduce download size.
Free to use · Runs in your browser · No signup
This tool works in your browser. Enable JavaScript to select files and create your download.
How to use JavaScript minifier
- Paste your JavaScript.
- Choose whether to shorten variable names and whether the code is an ES module.
- Minify, then copy or download the result.
What you need
Nothing to upload. Type or paste directly into the tool; results update as you go.
Your result
Minified JavaScript and the size saved.
Before you start
Minification removes comments and whitespace and may rename local variables. Test the output, and keep the original source.
Questions about JavaScript minifier
Is what I type sent anywhere?
No. The calculation runs in your browser, and the text or numbers you enter are not uploaded or stored.
Is it free? Do I need an account?
Yes, it’s free, and there’s no account or signup. FreeToolBench is supported by ads.