JavaScript Beautifier

Formats JavaScript files with the chosen indentation level and your choice of braces. Supports 4 indentation levels: 2 spaces, 3 spaces, 4 spaces and tabs. You can also select the braces style: collapsed, expanded or expanded with new line.

The formatter works locally in your browser, no data is uploaded to the server.