Minify JavaScript online free. Remove whitespace, comments, and rename variables to reduce JS file size. Best for production.
Losslessly shrink PNG files.
Compression Level
⬆️
Drop a png compressor file here or click to browse
.png
Minify JavaScript online free. Remove whitespace, comments, and mangle variables. Reduce JS file size for faster websites.
Large JavaScript files slow down your website. Our JS Minifier removes whitespace, comments, and renames local variables to create a compact, production-ready JS file. Uses the industry-standard Terser engine.
| Original JS | Minified JS | Saving |
|---|---|---|
| function add(a, b) { return a + b; } | function add(n,d){return n+d} | ~55% |
// Before
const hello = function(name) {
console.log("Hello, " + name);
};
hello("World");
// After minification (with mangling)
const hello=function(o){console.log("Hello, "+o)};hello("World");
Web developers, React/Angular/Vue users, WordPress plugin authors, and anyone deploying JS to production.
See above. Safe, fast, free.
Everything you need to know about this tool