Skip to content
Jellykit

CSS Minifier

Minify CSS by removing comments, whitespace and redundant semicolons to cut file size. Paste or open a file and download the result. Free and private.

Runs in your browser. Nothing is uploaded.

About CSS Minifier

CSS Minifier strips comments, line breaks, indentation and the final semicolon in each rule, producing a compact stylesheet that downloads faster. Smaller CSS gets the page painted sooner, which helps Core Web Vitals.

The minifier is deliberately conservative. It removes whitespace and comments but never rewrites selectors or values, so it can't change how your page looks.

How to use CSS Minifier

  1. Type or paste your text into the input box. Press Sample to see an example.
  2. The result appears instantly as you type.
  3. Copy the result, or press Use as input to chain another transformation.

Frequently asked questions

Will minifying break my CSS?

It only removes comments and insignificant whitespace, so the rules work exactly as before.

Should I minify CSS by hand?

Build tools usually do it automatically. This is for quick one-off files, snippets and sites without a build step.

Is CSS Minifier free and private?

Yes. CSS Minifier is completely free with no sign-up. Everything runs in your browser, so whatever you type or paste never leaves your device.

See all developer tools →