Javascript formatter

The online Javascript formatter converts the Javascript source code into a more readable code.
Sometimes Javascript source codes are compacted removing tabs, spaces and newlines for performance reasons or to discourage users to use your Javascript code.

This tool does not de-obfuscate Javascript source code but only converts the source code to make it more beautiful and readable.

Note 1:
There is no guarantee that the formatted Javascript source code works after it is converted.

Note 2:
Obfuscate means protect source code from unwanted examination.

Enter unformatted Javascript source code:

Javascript code *: Help
* = required    

The formatted Javascript source code: