CSS Minifier
Remove comments and unnecessary whitespace from CSS locally while preserving quoted strings.
Minify CSS
Method
The tool scans character by character, preserves quoted strings, removes ordinary block comments, and reduces whitespace around CSS punctuation.
Worked example
A rule containing extra spaces and a comment becomes a compact rule with the same declarations.
Privacy
Your CSS stays in the browser.
Limitations
This is a minifier, not a validator or optimizer. It does not combine selectors, rewrite values, or prove that the CSS is valid.