CSS Minifier
Compact stylesheets with strings and calc() expressions handled safely.
Your input is processed locally in this browser tab.
How to use CSS Minifier
Paste CSS rules (CSS + Minify mode is preselected) or open a .css file.
Strips comments and unnecessary whitespace while safely preserving quoted strings and calc() expressions.
Copy or download the compressed stylesheet.
Frequently asked questions
Does CSS Minifier preserve spaces inside calc()?
Yes. Essential operators inside calc() and quoted strings stay valid.
Can I beautify minified CSS using the same workspace?
Yes. Click Beautify and pick your preferred indentation width.