CSS Minifier
Minify CSS by removing whitespace and comments. — free, fast and private.
How to use CSS Minifier
- Paste your CSS code into the box.
- Click Minify.
- Check the size saved, then copy the minified code or download it.
Note: this tool runs in your browser. Nothing is uploaded.
Frequently Asked Questions
What does the CSS Minifier do?
It removes CSS comments and strips unnecessary whitespace around braces, colons and semicolons, producing compact CSS that loads faster.
Will minifying break my code?
For normal code it is safe: only comments and unnecessary whitespace are removed. Always keep an unminified backup and test the minified version before deploying.
Is my data uploaded to a server?
No. This tool runs entirely in your browser and your input is never uploaded to a server.
Can I use this tool on my phone?
Yes, the tool is fully mobile-friendly and works in any modern browser.