CSS Minifier
Minify CSS by removing comments and whitespace, or beautify it for readability. See size reduction stats.
About This Tool
Free CSS minifier online — compress CSS by removing whitespace, comments, and unnecessary semicolons to reduce file size. Smaller CSS files load faster, reducing page weight and improving Core Web Vitals scores (particularly LCP and FID). This free CSS compressor is ideal before deploying a website — minified CSS can be 30–70% smaller than the original. Paste your full CSS, click Minify, and copy the compressed output directly into your build or CDN. Unlike build tools like Webpack or Vite, this tool requires no configuration — it works for quick one-off minifications without any local setup.
How to Use
- 1
Paste your CSS
Paste your full CSS code into the input.
- 2
Click Minify
The tool removes all comments, whitespace, and redundant syntax.
- 3
Copy the minified CSS
Copy the compressed CSS for use in your project.