CSS Minifier
Minify CSS with CSSO: strip comments, shorten colors, optionally merge rules.
Unminify a stylesheet from a CDN or a production build: one declaration per line, with @media and @supports blocks indented properly.
Paste or type to begin. Everything runs in your browser.
How it works
Paste CSS (minified is fine), drop a .css file onto the input, or load the sample.
Pick 2 spaces, 4 spaces or tabs, and whether to leave a blank line between rules.
Copy the result or download it as a .css file.
FAQ
No. Selectors, values and their order stay exactly as they were; only whitespace moves.
Simple SCSS and Less usually come out fine, since the syntax is close to CSS. Heavy mixins and functions may not.
Missing something?
Describe the job and the file types involved. The most requested tools get built first.