Skip to content
Toolzen
  • Image CompressorImage tools
  • Image ResizerImage tools
  • Image ConverterImage tools
  • Image CropperImage tools
  • Rotate & Flip ImageImage tools
  • Image FiltersImage tools
  • Add Watermark to ImageProImage tools
  • Favicon GeneratorImage tools

CSS Formatter

Beautify minified CSS into readable rules, or minify stylesheets to save bytes.

Loading tool…

How to use the CSS Formatter

  1. 1

    Paste CSS or open a .css file.

  2. 2

    Choose Beautify or Minify and your formatting options.

  3. 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.