Smaller CSS files mean faster page loads. This CSS minifier removes comments, extra whitespace, line breaks, and unnecessary semicolons to compress your stylesheets. It shows you the original and minified sizes along with the percentage savings.

The minifier handles standard CSS syntax including media queries, keyframes, and custom properties. Everything runs in your browser with no data sent to any server.

Minifier

Results

How to Use

  1. Paste your CSS into the input field
  2. Click Calculate to minify
  3. Review the minified output and size savings
  4. Copy the minified CSS for production use

FAQ

Does it remove vendor prefixes?

No. The minifier only removes whitespace and comments. All CSS rules, properties, and values are preserved exactly.

Will it break my CSS?

The minifier uses conservative rules that should not alter CSS behavior. However, always test minified CSS in your application.

Is my CSS sent to a server?

No. All processing runs in your browser.

Commonly Used With

Pair this tool with others in Developer