CSS Minifier

Minify CSS quickly in the browser. Options to keep comments or collapse whitespace.

How to use

  1. Paste your CSS into the Input CSS box.
  2. Choose whether to keep comments or preserve line breaks.
  3. Click Minify. The result appears on the right and can be copied or downloaded.
  4. Tip: for largest size reduction, uncheck Keep comments and Keep line breaks.