Developer

CSS Minifier

Paste a stylesheet to strip comments, whitespace and redundant semicolons for the smallest download size.

Developer

CSS minifier

Local only
Everything stays in your browser

Your text is processed on your device — nothing is uploaded to a server.

What minifying CSS removes

Comments, line breaks, indentation, spaces around braces, colons and commas, and the final semicolon before each closing brace.

Rendering is unchanged

None of the removed characters affect how the browser applies your styles, so the minified file renders identically.

Good to know

Frequently asked questions

Does it rewrite colours or shorthand?

No. Only whitespace and comments are removed; your values stay exactly as written.

Is my CSS uploaded?

No. Everything happens locally.

How much smaller will it be?

Typically 15–35% before gzip, depending on how much commenting the source has.

Can I format it again?

Yes — the CSS Formatter will re-expand the minified output.