JavaScript formatter
Open full tool ↗
JavaScript
Indent
2 spaces
4 spaces
Tabs
Line width
Single quotes
No semicolons
Formatted JavaScript
Copy
Download
Check
—
Runs in your browser. Nothing you type is sent anywhere.
Free tool by Max Tamilan