Web & SEO Tools ›
CSS Minifier
Shrink CSS by removing comments, unnecessary whitespace, and the last semicolon in each rule.
Private - runs in your browser
No signup required
Free forever
How to use CSS Minifier
- Paste your CSS.
- Click Minify.
- Copy the result.
Features
- Comment stripping
- Whitespace collapse
- Last-semicolon trim
Why use it
- Smaller stylesheet
- Faster First Contentful Paint
Frequently asked questions
Will this affect specificity?
No - only whitespace and comments are removed; selectors and declarations are unchanged.