Developer tools
JavaScript Beautifier
Format and unminify JavaScript into readable code with proper indentation. Free online JS beautifier.
How to use the JavaScript Beautifier
-
1
Paste your JavaScript.
-
2
Pick the indentation.
-
3
Click Beautify.
About this tool
Make minified or messy JavaScript readable again with consistent indentation and line breaks.
Frequently asked questions
Can it restore original variable names?
No. Minifiers rename variables permanently. Formatting only restores the layout.
Does it run my code?
No. The code is only reformatted as text.