About CSS Formatter
Minified CSS from a build or a third-party site puts whole stylesheets on one line. The formatter splits it back into readable rules, one declaration per line, with nested blocks such as @media queries indented.
If the CSS cannot be parsed, for example because of a missing brace, the error is shown with its position so you can find it.
How to use it
- Paste your CSS into the Input panel, or Open a .css file.
- Pick an indent of 2, 4 or Tab.
- Copy the formatted CSS, or Download it as a .css file.
Frequently asked questions
Can I unminify a production stylesheet?
Yes. Paste the minified CSS and it is expanded into readable rules. Comments that were removed during minification cannot be recovered.
Does it support SCSS or Less?
It is built for standard CSS. Simple SCSS may format, but SCSS-only syntax is not guaranteed to work.
Is my code uploaded?
No. The CSS is formatted in your browser.