What is a CSS minifier?
A CSS minifier removes comments, collapses whitespace and tightens punctuation so your stylesheet is smaller — usually 20–40% smaller — with no change to how it renders. This css minifier online is instant and free.
Minify or unminify CSS
Use Minify to shrink CSS for production, or Unminify to unminify css — turning css minify to normal, readable code with one declaration per line. The built-in css beautifier is handy for reading or editing compressed stylesheets.
Why CSS minification matters
Smaller CSS downloads and parses faster, improving page speed and Core Web Vitals. It's one of the easiest performance wins and safe to apply to any stylesheet.
How to use the CSS minifier
- Pick Minify or Unminify.
- Paste your CSS.
- Click the button and copy the result.
More performance tools
Pair this with our JS Minifier, HTML Minifier, Page Speed Test and the full free SEO tools suite.