CSS Minifier

Minify CSS free in your browser — strip comments and whitespace to shrink your stylesheet. Nothing is uploaded.

Report a problem



How to use

  1. Paste your CSS into the box (or edit the sample that is already there).
  2. It minifies live as you type — comments and extra spaces are stripped away.
  3. Press Minify, then Copy the smaller stylesheet to your clipboard.

FAQ

Is anything uploaded?

No — it runs in your browser. Your CSS never leaves your device and is never sent to a server, so it works offline and stays private.

What does minifying CSS do?

It removes comments and unnecessary whitespace, then tightens up the spacing around braces, colons, semicolons and commas. The styles behave exactly the same, but the file is smaller and loads faster.

How careful is it?

This is a fast, best-effort minifier. It protects text inside quotes and url(...) so your content and paths are not mangled, but it does not rewrite colors, merge rules, or do deep optimization. For most stylesheets that is exactly what you want.