About JavaScript Formatter
Minified JavaScript from a build tool collapses all logic into continuous lines and shortens variable names, making it unreadable for debugging, security review, or understanding what a third-party script does. This JavaScript formatter parses the minified code and re-prints it with consistent 2-space indentation, newlines after statements and blocks, and readable spacing around operators — restoring logical structure without renaming variables or altering logic. It is the standard first step when investigating an...
Runs locally in your browser. The text you enter is not uploaded to CodeStorms.
→
Beautify a minified third-party library to trace the source of a runtime error without a source map.
→
Format inline JavaScript extracted from a browser session for a security review.
→
Expand a minified script to add console.log statements for temporary debugging.
→
Read a third-party analytics or widget script to understand what it collects before deploying it.