CSS Minifier
Developer ToolsShrink CSS and see bytes saved
FreePrivateInstant
Similar tools you may like
History
All history →CSS Minifier — at a glance
Make your stylesheet smaller for faster page loads.
.a {
color: red;
}
Minify CSS
.a{color:red}
How to use it — step by step
Any CSS code.
1
Paste your input
Paste or type your content into the big input box.
2
Choose options
Pick the mode and options that fit what you need.
3
Minify CSS
Press the button. The result is created instantly on your device.
4
Copy the result
Check the output and press Copy to use it anywhere.
Pro tips
Small things that make the result better.
✦Keep your original file — minified code is hard to edit.
✦Combine this with gzip or brotli on your server.
✦Always test the page after replacing the CSS.
Quick facts
Freeno signup, no limit
Instantresult in a moment
Privatenothing is uploaded
Any devicephone, tablet or PC
Frequently Asked Questions
Is minifying safe?+
Yes. It only removes things the browser ignores.
What about strings with spaces?+
Spaces inside quoted strings are collapsed, so avoid double spaces in content strings.
Is my data safe?+
Yes. Everything runs inside your own browser. Your text, files and images are never uploaded to any server.
More Free Tools
Guides you might like
All guides →Robots.txt Generatorrobots.txt explained: Allow, Disallow, wildcards and the mistakes that block your siteChmod Calculatorchmod permissions explained: what 755, 644 and 777 actually meanSitemap XML Generatorsitemap.xml explained: what to include, the 50,000 URL limit and HTML sitemapsRegex TesterRegex from zero: ten patterns and the trap that freezes pages

