Dev
CSS Minifier
Whitespace and comments are stripped for compact output.
Editor
Frequently Asked Questions
What does CSS minification remove?
Comments (/* ... */), extra whitespace (spaces, tabs, newlines), redundant semicolons before closing braces, and sometimes shorthand expansion. Some minifiers also remove unused rules or merge duplicate selectors. This tool performs conservative whitespace and comment removal.
How much does CSS minification reduce file size?
Typically 20–30% for human-written CSS. Combined with gzip/brotli compression at the server level, the effective savings are usually an additional 70–80% on top of minification. Both transformations together significantly reduce CSS load time.
Does minified CSS work the same as the original?
Yes. CSS minification is semantically lossless — all rules, selectors, and property values are preserved. The browser applies identical styles. Always keep the original source CSS for future editing; minified CSS is for production deployment only.