CSS Formatter
Beautify minified CSS into readable rules, or minify stylesheets to save bytes.
Loading tool…
How to use the CSS Formatter
- 1
Paste CSS or open a .css file.
- 2
Choose Beautify or Minify and your formatting options.
- 3
Copy the result or download it.
Frequently asked questions
Does it work with SCSS and Less?
Most SCSS and Less syntax, such as nesting and variables, is formatted correctly.
Will minifying break my CSS?
No. Only comments and unnecessary whitespace and semicolons are removed; strings and values are left untouched. /*! licence comments are kept.