Utilities
JavaScript Minified JS
Minify and format JavaScript code locally in your browser.
77 B -> 0 B, 100.0% smaller
About JS Minifier
Compress JavaScript by renaming variables, removing dead code, and stripping comments. The output is functionally identical but a fraction of the size, which improves page load and Core Web Vitals.
Frequently asked questions
Will minification break my code?
Not for standard JavaScript. Code that uses dynamic property names like obj['some_var'] can lose those if you also enable mangling; the safer default is whitespace-only.
Should I use this on a bundle from webpack?
No, your bundler already includes Terser. This tool is for one-off scripts or inline snippets.