Paste in your dirty code and hit clean
HTML
CSS
JS
Theme
Dark
Light
Output
Full page
Code fragment
Braces
With control statement
On own line
End on own line
Indent
Auto
Block-level
None
Indent with
Tabs
2 spaces
4 spaces
8 spaces
Print margin
None
80
100
120
140
160
180
200
Add empty lines for clarity
Allow proprietary attributes
Optimize for MS Word HTML
Break chained methods
Keep array indentation
Preserve empty lines
Clean
Sponsored by
The easiest way to edit a website!