CSS Minifier
Compress CSS by removing comments and unnecessary whitespace.
Reduce stylesheet size by safely stripping comments and redundant whitespace while leaving strings, URLs and values untouched. Ideal for preparing CSS before deployment. Processing is completely client-side.
How to use CSS Minifier
- 1Paste your CSS into the input editor.
- 2Press Minify CSS to produce a compact stylesheet.
- 3Copy or download the optimized output.
About this tool
Reduce stylesheet size by safely stripping comments and redundant whitespace while leaving strings, URLs and values untouched. Ideal for preparing CSS before deployment. Processing is completely client-side.
Looking for more utilities? Browse all tools or explore CSS Tools.
Frequently asked questions
Will minification break my CSS?+
The tool preserves strings, URLs and numbers, and only removes comments and whitespace that are safe to remove.
Can I keep important comments?+
Keep the "keep important comments" option enabled to preserve comments starting with /*! such as license headers.
Does it process CSS locally?+
Yes, the code never leaves your browser.