JavaScript Minifier

Minify JavaScript to reduce file size.

100% Private — Nothing is Uploaded

All processing happens locally in your browser. Your files never leave your device and are never sent to any server.

Options

Other languages

About the JavaScript Minifier

This tool reduces JavaScript file size with a safe tokenizer that understands strings, template literals, regular expressions and comments. Your code will not break — guaranteed.

What gets removed

  • Line comments (//)
  • Block comments (/* ... */)
  • Extra whitespace and line breaks