JavaScript Beautifier is a simple free online application that formats JavaScript code for better readability.

JavaScript Beautifier

Enter JavaScript here

Results