Free • Page speed

CSS Minifier

Strip comments, blank space, and unnecessary characters from your CSS files. Faster downloads and better Core Web Vitals.

STEP 1

Paste your CSS

Single file or combined stylesheet.

STEP 2

Click minify

We strip everything browsers do not need.

STEP 3

Replace on server

Use the minified version in production.

Minify CSS

Why minify CSS?

CSS files often have lots of comments, indentation, and blank lines that exist purely for developer readability. Browsers ignore all of it. Stripping it can shrink your CSS by 20–50%, reducing the time until your page can render.

Best practices

Frequently asked questions

Will minification break my CSS?

It should not. The tool preserves all selectors, declarations, and values. Only whitespace and comments are stripped.

How much can I save?

Typical CSS gets 25–40% smaller. With Gzip on top, you save another 60–80%.

Should I minify CSS frameworks like Bootstrap?

They are usually shipped pre-minified (bootstrap.min.css). Only minify custom CSS you write yourself.

Does minified CSS affect debugging?

Yes, it is harder to read. Use source maps (in build tools) or keep the unminified version handy.

Is there a downside?

Only debugging difficulty. For users and SEO, smaller is always better.