← All tools

JavaScript Minifier

Minify JavaScript in your browser: comments and whitespace removed, code compressed and names shortened (terser).

Free tool No account
Input
Output
AI uses your own key (several are free); a button opens a short setup.
Ready72 in · 0 outProcessed locally · No upload

About the JavaScript Minifier

Make JavaScript smaller by removing comments and extra whitespace — a quick, safe minify for snippets and small scripts.

How to use it

  1. Paste the JavaScript.
  2. The minified version appears on the right.
  3. Copy or download it.

Tip: For production apps, a build tool (esbuild, Terser) also shortens names; this tool keeps names as they are, which is safer for quick jobs.

Questions

Is my data uploaded?

No. The tool runs in your browser; what you paste or open never leaves your device and nothing is stored on a server.