Minify CSS

Minify CSS stylesheets

How to use

  1. Paste your CSS into the box.
  2. Whitespace and comments are stripped to shrink the file.
  3. Copy the minified CSS for production.

Why use this tool

Frequently asked questions

Does minifying change how my styles work?

No. Only redundant whitespace and comments are removed; the rules behave identically.

How much smaller will it be?

It depends on formatting and comments, but minification commonly trims a noticeable percentage off the file size.

Is my CSS uploaded?

No. Minification runs in your browser.

Back to all tools