CSS Minifier

Reduce common CSS whitespace without using an external service.

CSS source

Options

Private browser processing: Text is processed in your browser and is not uploaded to our server.

Minified CSS

About the CSS Minifier

Prepare a compact review copy of pasted CSS with local, conservative comment and whitespace processing.

How to use it

  1. Paste the CSS source.
  2. Choose whether to remove comments and collapse whitespace.
  3. Minify, review and copy the result.

Conservative processing

Quoted strings and retained license comments are protected while whitespace around common CSS punctuation is reduced.

Example

A formatted rule with separate color and padding declarations becomes one compact rule and reports its byte reduction.

Limitations

This is not a complete CSS parser or production build pipeline. Test complex functions, generated CSS and browser-specific syntax before deployment.