JavaScript Beautifier
Re-indent minified or messy JavaScript into clean, readable code with consistent spacing. Runs in your browser. Free online tool.
Result
Ad space · responsive
How to use JavaScript Beautifier
- Paste minified or messy JavaScript.
- Pick the indentation.
- Copy the readable code.
Good to know
- Line breaks the author wrote are kept wherever JavaScript's automatic semicolon insertion might depend on them, so the code behaves exactly the same.
Privacy
Runs entirely in your browser. Nothing you enter or open here is uploaded.