</> hexnook

JS Formatter

Minify JavaScript for production or beautify it for readability — with a live before/after size comparison.

Input

Output

Output will appear here…

Frequently asked questions

Yes — minify mode mangles (shortens) local variable and function names in addition to removing whitespace and comments, which is standard practice for production JavaScript and produces meaningfully smaller output than whitespace removal alone.