Output appears here...How to use
Paste the minified code
Drop the script into the Input pane. The Try sample button loads a squashed one-liner so you can see the expansion instantly.
Click Beautify
The code re-flows with two-space indentation, one statement per line, and braces where you expect them. Logic and behavior are untouched.
Read or copy the result
Study the structure right in the Output pane, or use Copy to move the formatted source into your editor for a proper investigation.
Why JS Beautifier
- Reformat minified JavaScript into readable, indented code.
- 2-space indent, sensible line breaks.
- Powered by js-beautify.