Format and minify CSS
Whether you are debugging a stylesheet or shipping one, this tool helps both ways: beautify to make rules readable and easy to edit, or minify to strip comments and whitespace so your CSS downloads faster.
How to use it
- Paste your CSS.
- Choose an indent size.
- Click Format or Minify, then copy the output.
Frequently asked questions
Does formatting change how my CSS works? No — it only adjusts whitespace and layout. The rules and selectors are unchanged.
Does minifying remove comments? Yes — minifying strips comments and collapses whitespace to make the file as small as possible.
Is my CSS uploaded? No. Everything runs in your browser, so your stylesheet stays private.
