CSS Beautifier
Put each CSS rule and property on its own line with even indentation.
What it does
Lays out CSS with one property per line and the same indentation everywhere. Useful when a style sheet is minified or written by hand in different styles and you need to read or edit it. You get the same rules, just tidy.
About the .css format
.CSS file extension.css Cascading Style Sheet
Web Files
- File Type
- Cascading Style Sheet
- Developer
- W3C
- Category
- Web Files
- MIME
text/css
A Cascading Style Sheet is a style sheet language that defines the look and formatting of HTML pages.
Related tools
More in Code Formatters
CSS Minifier
Remove comments and whitespace from CSS to make the file smaller.
XML Formatter
Indent XML, SVG and RSS and check that they are well formed.
HTML Beautifier
Indent HTML so the nesting of tags is easy to follow.
SQL Formatter
Break long SQL queries into lines and capitalise the keywords.
JavaScript Beautifier
Format minified or messy JavaScript with consistent indentation.
JavaScript Minifier
Shrink JavaScript by removing comments, whitespace and line breaks.
HTML Minifier
Remove comments and extra whitespace from HTML.
YAML Formatter
Re-indent YAML and make quotes and lists consistent.
CSS Beautifier questions
How do I use the CSS Beautifier?
Paste the text into the Input box or open a file, set the options, then copy or download the result.
Does renaming a file to .css change its format?
No. The extension only tells programs what to expect, and the content of the file stays the same. To change the format, convert the file. The .css page lists programs and converters for it.