How to use
- Paste your CSS.
- Choose the indentation.
- Copy or download the formatted CSS.
Make CSS readable again
Minified or badly spaced CSS is hard to read and review. This formatter puts every declaration on its own line, indents nested rules such as @media and keeps strings, comments and url() intact.
What it does
- One declaration per line with a space after the colon.
- Selectors separated by a comma and a space.
- Nested blocks like @media are indented one level deeper.
Your code never leaves your browser.
Frequently asked questions
Does it change my styles?
No, only whitespace changes; values stay the same.
Can it handle @media?
Yes, nested blocks are indented.
Is my CSS uploaded?
No, everything runs locally.