Skip to content
Toolzen
  • Image CompressorImage tools
  • Image ResizerImage tools
  • Image ConverterImage tools
  • Favicon GeneratorImage tools
  • Merge PDFPDF tools
  • Split PDFPDF tools
  • Remove PDF PagesPDF tools
  • Images to PDFPDF 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.