Minified CSS will appear here…Free · Runs in your browser · Production-safe
Paste your CSS, get a compressed, production-ready stylesheet.
Minified CSS will appear here…Removes all unnecessary spaces, line breaks and regular comments.
Combines selectors sharing identical rules, when restructuring is on.
Content inside url(), strings, and calc() is parsed and left untouched — never blindly stripped.
No — minification happens entirely in your browser using a JavaScript library. Your stylesheet never leaves your device.
It lets the minifier merge and reorder rules where it's safe to do so (e.g. combining duplicate selectors), which shrinks the file further. Turning it off produces a more conservative, purely whitespace/comment-stripping minification if you want the output to stay closer to your original rule order.
It shouldn't — the minifier parses CSS properly rather than using find-and-replace, so custom properties (--variable-name), calc() expressions, and content inside url() and strings are left untouched.
Comments starting with an exclamation mark are a common convention for license or attribution notices that tools deliberately preserve through minification — useful if your CSS credits a third-party stylesheet.
It depends heavily on your formatting — CSS with a lot of whitespace, comments and indentation typically shrinks 40–70%. Already-compact or highly optimized CSS will save less.