CSS Formatter

Beautify CSS, SCSS or LESS, or minify CSS. Errors show the line. More data tools

Format and minify CSS

Beautify makes one-line CSS readable with one declaration per line. Choose CSS, SCSS or LESS so nested rules and variables are understood. Minify strips comments and spaces and shows the bytes saved.

If a brace or semicolon is missing, the tool shows the line of the problem.

Features

  • Live: the result updates while you type.
  • Clear errors: the line, the reason and, where possible, a one-click fix.
  • Open and drop files, copy or download the result, and share your input as a link.
  • Send to another tool: pass the result straight to a related tool.
  • Private: Everything runs in your browser. Your data is not uploaded to any server.

Related data tools

Frequently asked questions

Does minify change how my CSS works?

No. It removes comments and whitespace only, and keeps strings intact.

Can it format SCSS?

Yes. Choose SCSS or LESS in the Syntax box.

Is my data private?

Everything runs in your browser. Your data is not uploaded to any server. You can even use the tool offline once the page has loaded.