What is the CSS Minifier?
Smaller CSS loads faster, and CSS blocks the page from showing until it arrives. This minifier uses CSSO, which does more than strip spaces: it shortens colours and values and, if you allow it, merges duplicate rules.
Features
Real optimisation
Shorter values, not just fewer spaces.
Restructure option
Merge and reorder rules for extra savings.
Savings shown
Before and after sizes.
How to use the CSS Minifier
- 1
Paste your CSS.
- 2
Choose whether to merge rules.
- 3
Copy the minified CSS.
Who it is for
Performance work
Lighter stylesheets for faster first paint.
Tips for better results
- If a page looks different after restructuring, turn that option off; some rule orders matter.
Questions people ask
What is CSSO?
An open-source CSS optimiser used in many build tools.
What does merging do?
It combines repeated rules and selectors for smaller files. Test the page after, as it reorders some rules.