Compress your CSS in seconds and make your stylesheets smaller, faster and easier to ship. Paste in your code, minify it, then copy the result — nothing is uploaded anywhere.
How to use
- Paste your CSS into the tool above.
- Click minify and check the before-and-after file sizes.
- Copy the minified CSS and use it in place of your original stylesheet.
Frequently asked questions
What does a CSS minifier do?
A CSS minifier removes comments, extra whitespace and line breaks from your stylesheets, producing smaller files that browsers can download and parse faster.
Will minified CSS change how my site looks?
No. Minification only removes characters browsers do not need. Your styles keep working exactly the same way, so your site should look identical.
How much smaller does CSS get?
It depends on how the original file was written, but well-formatted CSS often shrinks by 20–50%, and heavily commented files can shrink by up to 70%.
Learn more in our guide: How to Remove Unused CSS in WordPress. Or go back to the Free SEO Tools page.