About CSS formatter
Paste a stylesheet and get one property per line, consistent spacing and tidy selectors. It works with plain CSS as well as SCSS and Less, including nesting, variables and mixins.
Minify does the reverse for plain CSS: it removes comments and spacing so the file downloads faster on your site.
How to use it
- Paste your CSS or open a .css, .scss or .less file.
- Choose the language and press Format, or Minify for plain CSS.
- Copy or download the result.
What minify removes
Comments, line breaks and spaces that the browser does not need. Strings and url() values are left alone, so nothing that affects how the page looks is changed.
Questions
Does it support Tailwind’s @apply and other at-rules?
Yes. Unknown at-rules are kept and formatted like any other rule.
Is my stylesheet uploaded?
Everything happens inside your browser. Your file is never uploaded to a server, so it stays private and the tool keeps working even on a slow connection.