JavaScript Formatter

Turn compacted or inconsistently indented JavaScript into readable code. Formatting runs in your browser with js-beautify — your source never leaves the device.

Result

Paste code, then Format. Processing stays in your browser.

Related tools

FAQ