CMin

CSS Minifier

Compress CSS for faster page loads

πŸ”’ 100% client-side β€” your data never leaves this page
Input
Output
Minified CSS will appear here
πŸ”’ 100% client-side

About this tool

Compress CSS code into compact output for production delivery. The tool removes comments and redundant whitespace, tightens punctuation spacing, and reports exact byte savings. A safety check for unmatched braces is included so invalid CSS can be identified before you copy the result.

Frequently Asked Questions

What does CSS minification do?

It removes comments, line breaks and unnecessary spaces, then compacts punctuation to reduce the final stylesheet size.

Can I keep license comments?

Yes. Enable the keep important comments option to preserve comments written as /*! ... */.

Why do I see an unmatched braces error?

Your CSS likely has a missing { or }. Fix structural syntax issues first, then minify again.