How to minify CSS online

Paste CSS — get a minified stylesheet with comments and whitespace stripped.

Every byte in CSS blocks first paint. The CSS Minifier removes comments, collapses whitespace, and trims rules — paste only, no build step required.

Try it — paste CSS to minify

How it works

  1. Paste CSS — stylesheet or inline style block.
  2. Minified output — updates in real time.
  3. Copy — production-ready compressed CSS.

Safe minification

Comments and unnecessary whitespace are removed. String values and url() contents are preserved.

HTML and CSS together

Minify page markup with the HTML Minifier for a full static asset pass.