DevConvertor
Minifiers

CSS Minifier

Shrink CSS by removing unnecessary whitespace and comments and applying safe, semantics-preserving optimizations (like shortening color values), using csso — the same minifier used by many production build tools.

Features

  • Removes unnecessary whitespace and comments
  • Applies safe, semantics-preserving optimizations
  • Shows original size, minified size, and percentage reduction

How to use

  1. Paste your CSS into the input.
  2. Click Minify.
  3. Copy or download the minified result.

Example

Example

.a { color: red; background: blue; } → .a{color:red;background:#00f}