1. Home
  2. Code
  3. CSS Minifier & Beautifier

Online CSS Minifier & Deduplicator & Beautifier

Minify, beautify or merge duplicate CSS rules. The result is smaller, still valid CSS.

What it is for?
Processed on the server Free, no sign-up

What it is for?

How it works

Compress strips comments and whitespace. With "Deduplicate CSS" ticked, repeated declarations and rules are merged first, colours are shortened and empty rules are dropped, so the output gets smaller still.

Beautify keeps every rule as written and only re-indents it.