JavaScript Beautifier
Free
No sign-up
Nothing stored
Indent and tidy JavaScript so it is easy to read.
How to use
- 1 Paste your JavaScript (minified or messy) into the Input box.
- 2 Choose the indent size and where opening braces go.
- 3 Press Beautify, then Copy the result.
Example
Input
function hi(n){return 'Hi '+n}
Output
function hi(n) {
return 'Hi ' + n
}