JavaScript Beautifier

Paste minified, bundled or badly indented JavaScript and get it back with consistent indentation and line breaks, so you can read a production bundle or clean up a snippet before sharing it. It parses the code rather than guessing, and runs in your browser.

Open JavaScript Beautifier

Where to find it

Every address below opens the same tool. The first address is the one to bookmark and share.

People also call this

What it's for: Turn minified or messy JavaScript into readable code. Paste minified, bundled or badly indented JavaScript and get it back with consistent indentation and line breaks, so you can read a production bundle or clean up a snippet before sharing it.

Use it from code

JavaScript Beautifier runs on its page only and has no API. The Tools API covers the tools you can call from code.

Similar tools

All Developer Tools