How it works
Parses CSS with Prettier's PostCSS plugin and arranges whitespace, indentation, and line breaks.
Format CSS code for easier reading.
h1{color:red}h1 {
color: red;
}
Parses CSS with Prettier's PostCSS plugin and arranges whitespace, indentation, and line breaks.
To review compressed rules, paste CSS and run the formatter to expand selectors and declarations onto readable lines.
The print width is 100 columns. There is no style preview or CSS validation. For errors, inspect braces, colons, semicolons, and declaration values.
No. It formats CSS text but does not apply it to a webpage.
The input area shows the accepted format and available controls for this tool.
No. Your input is handled in the browser you are using. Privacy