CSS Minifier
Shrink CSS by removing whitespace and comments, for faster page loads.
Runs entirely in your browser
Paste CSS here
Output
The formatted CSS appears here.
How to use it
- 01
Add your CSS
Paste it in or upload a .css file.
- 02
Choose options
Keep or remove comments.
- 03
Minify and download
See how much smaller the file is.
Questions
How much smaller will my CSS be?
Usually 20–40%, depending on how much whitespace and how many comments it has.
Is minified CSS still valid?
Yes — browsers read it exactly the same way.
Should I also compress it on the server?
Yes. Gzip or Brotli compression on top of minifying gives the smallest downloads.