Boolean World Tools

Beautify Javascript

Clean up minified and obfuscated Javascript

Indentation style:
Force line wrapping after:
Unescape strings
End with a newline
Break chained methods onto multiple lines
Add a space before conditionals
Add a space after an anonymous function
Keep array indentation
Keep function indentation

About this tool

This tool converts unindented, minified and obfuscated Javascript into cleaned up, properly formatted and indented Javascript.

Paste your Javascript code into the text box above and click on "Beautify". The code will be automatically formatted. You can also set the indentation style of your choice and also set the maximum line length through the line wrapping option. You can also select various options depending upon your preferred coding style.