CSS Minifier

Paste CSS and copy a compact version. Strings, url() values and /*! licence */ comments are left untouched.

Runs in your browser — nothing is uploaded

Minified CSS

How to use CSS Minifier

  1. Paste your CSS.
  2. Check the size saving.
  3. Copy the minified CSS.

Formula & assumptions

  • Runs entirely in your browser — your code is never uploaded.

Questions

Can minifying break my CSS?

It only removes whitespace, comments and redundant characters, never rules or values, so the result behaves the same.

Are licence comments kept?

Yes — comments starting with /*! stay, as licences often require.

Does it merge duplicate rules?

No. Merging can change the cascade order, so it is left out on purpose.