CSS Minifier
Shrink CSS — strip comments & space.
Runs entirely in your browser — nothing you enter is uploaded, logged, or tracked.
Paste CSS to strip comments and collapse whitespace into a compact, production-ready file — with a live byte count and savings. Quoted strings and url() values are left untouched so nothing breaks.
Frequently asked questions
Is the minified CSS safe to use?
Yes. It only removes comments and unnecessary whitespace and trims redundant semicolons; selectors, values, strings and url() are preserved exactly.
How much smaller will it get?
Typically 10–30% for hand-written CSS, more if it is heavily commented. The exact before/after byte count is shown.
Is my CSS uploaded?
No — minification runs entirely in your browser. Nothing is sent anywhere.