About this CSS Beautifier & Formatter
This CSS beautifier puts every selector and property on its own line with consistent spacing. It's perfect for reading a minified stylesheet or tidying up hand-written CSS.
Switch the language to SCSS or LESS to format preprocessor code, or press Minify to compress your CSS.
Features
- Unminify CSS
- CSS minifier
- SCSS and LESS formatter
- Media queries and nested rules indented correctly
- Open .css, .scss or .less files
How to use
- Paste CSS (or SCSS/LESS) into the Input box.
- Press Beautify to format or Minify to compress.
- Copy the result.
Frequently asked questions
How do I unminify CSS?
Paste the minified CSS above and click Beautify. Each rule and declaration is placed on its own line.
Does it support SCSS and LESS?
Yes. Choose SCSS or LESS in the Language menu, or let auto-detect pick it.
Is CSS minification safe?
The minifier only removes comments and whitespace. It doesn't rename or reorder anything.
More free formatters
- BeautifyAll-in-one beautifier
- JSON Beautifier & FormatterFormat & validate JSON
- XML Beautifier & FormatterPretty print XML
- HTML Beautifier & FormatterClean up HTML markup
- JavaScript Beautifier & FormatterBeautify JS code
- TypeScript Formatter & BeautifierFormat TS code
- SQL Formatter & BeautifierFormat SQL queries
- YAML Formatter & ValidatorFix YAML indentation
- Markdown FormatterTidy Markdown docs
- GraphQL FormatterFormat GraphQL queries
- Text BeautifierClean up plain text