CSS Formatter
Turn minified or messy CSS into clean, readable code with Prettier, without uploading anything.
How to use
- Paste your CSS.
- Click Format.
- Copy the result.
Examples
Minified rule
Input: a{color:red;margin:0 auto}
Output: a {
color: red;
margin: 0 auto;
}
Frequently asked questions
Does it support SCSS?
This version formats plain CSS. SCSS-specific syntax may not parse.