Code formatter
Pretty-print CSS, HTML or SQL.
How it works
- Choose the language: CSS, HTML or SQL.
- Paste your code, even if it's all crammed into a few lines.
- Click "Process" and copy the result, now indented and readable.
Frequently asked questions
Does it also format JavaScript?
Right now this tool covers CSS, HTML and SQL; for JavaScript you can use a local editor together with the "Code minifier" the other way around.
Does formatting change my code's logic?
No, it only adjusts spacing, line breaks and indentation; the code's behavior stays exactly the same.