JavaScript Minifier

Paste JavaScript and get a minified version with whitespace and comments removed.

Summary

Paste JavaScript and get a minified version with whitespace and comments removed.

How it works

  1. Paste JavaScript source code
  2. Enable variable mangling if desired
  3. Click Minify
  4. Copy the compressed output

Use cases

  • Reducing frontend bundle download size
  • Preparing scripts for CDN delivery
  • Obfuscating simple client-side logic

Frequently Asked Questions

Last updated: 2026-06-09 · Reviewed by Nham Vu