My Learning

Keep this for later

Sign in or create a free account to save it. You’ll return to this page afterward.

Sign inCreate an account

JavaScript Minifier

Compact JavaScript source code.

How to use this tool

Paste JavaScript and select Process input. Run your tests against the output before deployment.

Important to know

Compact JavaScript source code.

The bundled minifier is legacy software. It may not safely handle every modern JavaScript feature; do not deploy output without testing.

Formula and methodology

Removes selected whitespace and comments using the installed JavaScript packer in non-obfuscating mode.

Frequently asked questions

Is the output guaranteed to work?

No. Test behavior, especially when using modern syntax, regular expressions or significant comments.