Minify CSS
Minify CSS stylesheets
How to use
- Paste your CSS into the box.
- Whitespace and comments are stripped to shrink the file.
- Copy the minified CSS for production.
Why use this tool
- Smaller files: Removes spaces, line breaks, and comments to reduce CSS size.
- Faster pages: Smaller stylesheets download and parse faster for visitors.
- 100% private: Everything runs in your browser. Your data is never uploaded to a server, so it's safe for confidential content.
Frequently asked questions
Does minifying change how my styles work?
No. Only redundant whitespace and comments are removed; the rules behave identically.
How much smaller will it be?
It depends on formatting and comments, but minification commonly trims a noticeable percentage off the file size.
Is my CSS uploaded?
No. Minification runs in your browser.
Back to all tools