Tool World

JavaScript Minifier

Minify JavaScript with terser (compress + mangle).

JavaScript Minifier uses Terser to compress and mangle source code for smaller bundles. Paste JS, minify in the browser, and copy the result. Ideal for quick snippets — not a full bundler.

Frequently Asked Questions

Does my text leave the browser?

No. This tool runs entirely in your browser. Nothing is uploaded to our servers.

Does mangling rename my variables?

Yes. Local names are shortened. Keep exports and globals you need by reviewing the output.

Can it minify TypeScript or JSX?

Paste plain JavaScript. Compile TS/JSX first, then minify the output.