CSS formatter
Turn minified or messy stylesheets into clean, readable CSS.

How to use the CSS formatter
- Paste CSS, SCSS or Less, or choose a file.
- Pick the language and indent size.
- Press Format and copy or download.
When it's useful
- Reading a minified stylesheet
- Tidying CSS before sharing it with a team
- Finding a missing brace
Limits to know
- Formatting only — it doesn't minify or remove unused CSS.
Your privacy
Everything is worked out in your browser. What you type isn't uploaded, saved or shared, and there's no sign-up.
What goes in and what comes out
- Input:
- CSS, SCSS or Less pasted or as a file, up to 5 MB.
- Output:
- Formatted stylesheet, copyable or as a download.
Questions
Is my code sent anywhere?
No. Prettier runs in your browser.