Remove comments and unnecessary whitespace from CSS to reduce its file size.
How to Use the CSS Minifier
Paste your CSS into the box.
Click "Minify".
Review the size reduction and click "Copy to Clipboard".
Frequently Asked Questions
It strips comments, collapses all whitespace and line breaks, and removes unnecessary spaces around punctuation like braces, colons, and semicolons — all without changing what the CSS actually does.
No, minification only removes formatting characters (whitespace, comments) that don't affect how the browser applies the styles.
It varies by how the original CSS was formatted, but well-commented, heavily-indented CSS often shrinks by 15-40%.
Yes, it's completely free and requires no sign-up.