CSS Minifier
Minify CSS and see how many bytes you save.
Input CSS
Minified
Free online CSS minifier. Strip comments and collapse whitespace to shrink your CSS, and see exactly how many bytes and what percentage you saved. Runs in your browser.
How to use the CSS Minifier
- 01Paste your CSS.
- 02See the minified output plus the size saved.
- 03Copy the compressed CSS for production.
Frequently asked questions
What does minifying remove?
It removes comments and unnecessary whitespace, and trims the spacing around braces, colons and semicolons. Your styles render exactly the same, just in fewer bytes.