JavaScript Minifier
Compact JavaScript source code.
Make this result useful
Use it now, or keep a copy for later. We never save your tool input automatically.
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.