JavaScript Formatter
Format JavaScript.
How to use JavaScript Formatter
- Add your content Type or paste into the box. Nothing is uploaded — this runs in your browser.
- Set the options Adjust the settings to suit what you need.
- See the result The result updates instantly as you change things.
- Copy or download Copy the result to your clipboard, or download it as a file.
This tool runs entirely in your browser. Nothing you enter is uploaded, stored or seen by us.
Re-indent minified or badly formatted JavaScript so you can read it.