Home/CSS Minifier

CSS Minifier

Compress your CSS by removing whitespace and unnecessary characters. See the size savings.

0
Original (bytes)
0
Minified (bytes)
0%
Savings

How to use the CSS Minifier

  1. Paste your CSS code into the box.
  2. Press Compress; comments, unnecessary whitespace and line breaks are removed.
  3. Copy or download the minified code and see the size reduction.

Frequently Asked Questions

Will minifying break my code?

No. Only whitespace and comments the browser doesn't need are removed; the meaning of the rules doesn't change. Still, checking your page before going live is a good habit.

How much reduction should I expect?

Usually 15–30% for a commented, indented file. Combined with gzip/brotli compression on the server it helps page speed even more.

Is my text sent to a server?

No. Everything happens in your browser; the text or code you paste is never sent to any server.