CSS Minifier
Every extra byte of CSS slows your page. Paste your stylesheet here to strip comments and unneeded whitespace, then see exactly how much smaller the file got with the size saving and percentage shown.
How to use
- Paste your CSS into the first box.
- Click Minify CSS.
- Copy the minified result and check the size saving.
Tips
- Always minify a copy and keep the readable source file for future edits.
- The tool preserves the CSS meaning, but test the page after deploying minified code.
- Combine minification with compression on the server (gzip or brotli) for the biggest saving.
- Do not minify twice - a second pass gains nothing and can be harder to debug.
Note: Minification here removes comments and safe whitespace only — it does not rename classes or change values, so the output behaves exactly like the input.