JavaScript Minifier

Minify JavaScript with Terser: shorten names, compress code and see size and gzip savings.

🔒 Minified in your browser with Terser — your code is never uploaded.

How to minify JavaScript

  1. Paste your code or open a .js file.
  2. Choose options such as mangle names or remove console.
  3. Copy the result or download a .min.js file.

Supports modern JavaScript (ES2020+) and ES modules.

Frequently Asked Questions

Terser keeps your code working. If your code relies on function names at runtime, turn off Shorten names.

No. Terser runs in your browser.

Related Tools

JSON Formatter

Format and validate JSON data with syntax highlighting.

Open Tool →

Password Generator

Generate strong secure passwords with custom options.

Open Tool →

QR Code Generator

Generate QR codes for URLs, text, email, and more.

Open Tool →

Markdown to HTML

Convert Markdown to clean, sanitized HTML with a live preview. Supports tables and task lists.

Open Tool →