Minify JavaScript to cut file size, or beautify minified code back to readable. Runs entirely in your browser — your code never leaves the page.
It is great for quick, one-off shrinking — strips comments, collapses whitespace, and removes redundant semicolons. For full mangling (variable renaming, dead-code elimination) use a build tool like esbuild, Terser, or SWC.
Yes. Template literals, arrow functions, classes, async/await, optional chaining — all preserved. String and template-literal content is left untouched so escape sequences and embedded expressions stay intact.
No. The minifier and beautifier run 100% in your browser. Nothing is transmitted — paste freely.