JavaScript beautify / compress
Indent JavaScript for readability or strip whitespace and comments. Best for hand-written code; for production minification, reach for Prettier or Terser.
Input
0 charsPressCmd/Ctrl +Enter to beautify - or drop a .js file anywhere on the input.
Result
0 chars-0%Result will appear here.