Minify CSS by removing comments and unnecessary whitespace.
Processed locally — your code is never uploaded.
Understanding your result
Minified CSS is functionally identical but smaller. Keep an unminified copy for editing.
Formula and method
Comments are removed and runs of whitespace collapsed, while preserving the meaning of the styles.
Worked example
A commented, indented stylesheet typically shrinks by 20–50%.
How to use this tool
- Paste your CSS.
- Copy the minified output and the size saved.
Common mistakes to avoid
- Minifying the only copy of your source — always keep the original.
About the CSS Minifier
Shrink your CSS by stripping comments and unnecessary whitespace so it downloads faster.
Explore all Developer Tools tools
Frequently asked questions
Is anything uploaded?
No. Minification happens entirely in your browser.