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

  1. Paste your CSS.
  2. Click Minify.
  3. 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.