In short
To beautify CSS, paste the stylesheet, pick an indent size and copy the result. Every rule and property is put on its own line with consistent indentation, which makes minified or machine-generated CSS easy to read and edit.
How to use the CSS Beautifier
- 1Paste or type your input in the left box (or click "Try an example").
- 2Adjust the options if needed. The result updates as you type.
- 3Copy the result or download it as a file.
Tip
Inspecting a site's CSS? Copy it from your browser's developer tools, beautify it here, and search for the selector you need.
Frequently asked questions
Does it support SCSS?
Plain CSS works best; simple SCSS nesting is formatted too.
Are comments kept?
Yes.
Is my data sent anywhere?
No. Everything runs in your browser. What you paste is never uploaded, logged or stored, so it's safe for code, tokens and private content.
Last updated

