JavaScript Minifier

Minify and format JavaScript — with size reduction stats

Free Client-Side No Login No Storage
Loading tool...

How to Use the JavaScript Minifier

  1. Paste your JavaScript.
  2. Choose Minify or Format mode.
  3. Click the action button.

Minifies JavaScript by stripping comments and collapsing whitespace. Preserves license comments (/*!). For production, consider Terser or esbuild.