Free Online JavaScript Minifier
Minify and compress JavaScript code using Terser — the industry-standard JS minifier. Remove whitespace, shorten variable names, and compress code to reduce bundle size and improve page load speed.
Related Tools
Frequently Asked Questions
Is minified JavaScript still executable?
Yes. Minified JavaScript is functionally identical to the original. Variable names may be shortened and whitespace removed, but logic and behavior are preserved.
What is the difference between minification and obfuscation?
Minification removes unnecessary characters to reduce size. Obfuscation additionally renames variables and scrambles logic to make code harder to read. Minification is for performance; obfuscation is for protection.
Can I minify ES6+ (modern JavaScript)?
Yes. This tool supports modern JavaScript including arrow functions, template literals, destructuring, and async/await syntax.