← Back to Converters
CSS Minifier
Compress CSS and show byte savings
About the CSS Minifier
The CSS Minifier compresses stylesheets by removing whitespace and, optionally, comments, showing the exact byte savings before and after. Smaller CSS files mean faster page loads, which is one of the easiest performance wins before shipping a site.
How to Minify CSS
- Paste your CSS into the input box.
- Choose whether to remove comments.
- Click Minify CSS.
- Copy the minified output and check the byte savings.
Key Features
- Removes unnecessary whitespace
- Optional comment stripping
- Shows before/after size and savings
- Fast, browser-based processing
FAQ
Will minifying change how my CSS works?
No, only whitespace and, optionally, comments are removed — every rule and selector stays intact.
How much can I reduce file size?
Savings depend on your original formatting and comments — the stats panel shows the exact result.
Can I keep the comments in?
Yes, uncheck Remove comments before minifying.
Is my code uploaded anywhere?
No, minification happens entirely in your browser.