Skip to content
Free Tool Arena

Developer Utilities · Free tool

CSS Minifier

Paste CSS, strip comments and whitespace, and get a smaller minified version. Offline, safe, no ads or sign-ups.

Updated April 2026

What it does

Paste a stylesheet, click Minify, get a smaller version with comments and whitespace stripped. The result is ready to paste into a <style> block, copy into a production build shortcut, or compare against your build tool’s output. Runs in your browser — your CSS never leaves the page.

This is a string-level minifier — it preserves quoted content but doesn’t understand CSS grammar. For a full-optimization pipeline (including color shortening, rule merging, and dead-code removal) a build tool like cssnano or lightningcss is still the right answer.

How to use it

  1. Paste your CSS into the input textarea.
  2. Click Minify — the output and savings appear below.
  3. Copy the result with the Copy button.
  4. Click Clear to reset.