{ }

CSS Minifier

Minify CSS to reduce file size.

How to use

  1. Paste your CSS in the input area
  2. Click Minify — the stats bar shows original vs. minified size and the savings percentage
  3. Click Copy to copy the minified output to your clipboard

What gets removed

  • Whitespace and newlines (usually 30–50% of a CSS file)
  • Comments — section headers, browser quirk notes, TODOs
  • Trailing semicolons before closing braces
  • Redundant zeros (0px0, 0.5.5)

Typical result: 25–40% size reduction before compression. Combined with gzip/Brotli at the server, the total reduction is usually 80–85%.

Use via API

Integrate this tool into your workflow with our free REST API.

View API docs →

Embed This Tool

Add this tool to your site or blog:

New Tool Every Week

Get notified when we ship new tools and Android apps. One email, no fluff.