JavaScript Beautifier
Make unreadable JavaScript understandable. Apply standard indentation and line breaks to quickly debug confusing code blocks.
Output appears hereHow to use this tool
- 1Input ScriptPaste the minified JavaScript code.
- 2Format CodeClick beautify to properly indent functions and loops.
- 3DebugRead and debug the newly formatted code structure.
What this tool is useful for
- ✓Reverse-engineering a compiled web widget.
- ✓Debugging an error thrown by a minified third-party library.
- ✓Formatting inline scripts copied from old HTML files.
Privacy & processing
All processing is executed locally using your browser. Your data is never sent to a server.