Webmaster Utilities · Runs in your browser · Free
CSS Minifier
Minify CSS by removing comments, whitespace and redundant units.
What this tool does
Shrinks stylesheets to reduce transfer size and shows exactly how many bytes were saved.
Who should use it
Site owners who want smaller CSS without a build step.
How it works
Strings are protected, comments removed, whitespace collapsed around punctuation, final semicolons dropped and units on zero values removed. The result is checked for balanced braces.
How to use it
- Enter or paste css in the form.
- Use "Load example" if you want to see how input should look.
- Press the run button. Processing happens instantly in your browser.
- Review the result panel, then copy or download the output if the tool offers it. Use Reset to start over.
Practical example
"a { color : red ; }" minifies to "a{color:red}".
Understanding the results
Savings are reported in bytes and percent. Test the page after replacing the file.
Limitations
It does not merge or reorder rules, rename classes or process modern nesting differently; it may not shorten colours.
Accuracy and report transparency
Results are computed in your browser from exactly what you enter. Deterministic steps (counting, parsing, encoding, validation) are verified by an automated test-suite with known answers. Where a method is a heuristic, the result panel says "estimated". No external data is used and nothing is invented.
Privacy
Your input never leaves your device for this tool. We count anonymous events (tool opened, run, copied) without storing what you typed. See the Privacy Policy.
Frequently asked questions
Is minified CSS a ranking factor?
Not directly, but smaller files help page speed, which affects user experience.
Is my data sent to your server?
No. This tool runs entirely in your browser, so the text or files you enter stay on your device. We do record anonymous counts of how often each tool is opened or run (no input data) to see which tools are useful.
How accurate are the results?
Counting, parsing, encoding and validation steps are deterministic and covered by automated tests with known answers. Anything based on a heuristic is labelled "estimated" in the result panel.
Is this tool really free?
Yes. There is no account, limit or paid plan. The site is supported by advertising, which is disclosed on our Advertising Disclosure page.