🧹
Code
Formatter
Online formatter powered by Prettier — HTML · CSS · JavaScript. Paste your code and click Format.
HTML
CSS
JavaScript
HTML
0 lines · 0 chars
—
Formatting...
▶ Format
Indent
2 spaces
4 spaces
Tab
Width
80
100
120
Semi
Single quote
Diff
↓ Paste
📄 Sample
⎘ Copy
⬇ Save
⊘ Clear
Formatted Output
Output
—
⎘ Copy
⬇ Save
↩ Use as input
✕ Close
Loading Prettier...
Diff — changes by Prettier
✕