CSS Minifier

Minify CSS by removing comments and whitespace — see the size savings.

100% client-side Instant results Free forever Nothing uploaded

About the CSS Minifier

Paste CSS and strip comments, whitespace and redundant separators for a smaller production file. Before/after sizes and savings percentage are displayed.

Smaller CSS means faster first paint — minification is the easiest performance win available.

How to use the CSS Minifier

  1. Paste your CSS.
  2. Click "Minify".
  3. Copy the output and note the size savings.

Common uses

Preparing CSS for production Reducing page weight for Core Web Vitals Inlining critical CSS compactly

Frequently asked questions

Will minification change how my styles work?
No — only comments and unnecessary whitespace are removed; selectors and declarations are untouched.
How much can I save?
Typically 15–40% depending on commenting and formatting style.

Related tools