Minify CSS instantly

Compress your CSS by removing comments, collapsing whitespace, and optimizing syntax. All processing happens in your browser.

100% Private Processed locally Free & unlimited

CSS Minifier

0 characters

Paste your CSS code to minify it and see compression statistics.

Ready to Minify CSS

Enter CSS code above and click Minify to compress your stylesheet and reduce file size.

0%
Savings
Minified CSS Output
Original
0 B
Minified
0 B
Savings
0%
Saved
0 B

What this tool does not do

  • Does not validate CSS syntax or fix errors in your code.
  • May not handle all CSS @-rules and advanced syntax perfectly.
  • Designed for standard CSS, not preprocessors (SCSS, Less, Stylus).

How It Works

1

Paste your CSS

Enter or paste your CSS code into the input area.

2

Click Minify

Get instant compression and savings statistics.

3

Copy the result

Copy the minified CSS or download it as a file.

Frequently Asked Questions

What does the CSS minifier do?

It removes CSS comments, collapses multiple spaces into one, removes spaces around special characters like curly braces and semicolons, and removes trailing semicolons before closing braces.

Can I minify multiple CSS files at once?

You can paste CSS from multiple files into the textarea and minify it all at once. The tool processes all CSS in the input.

Is my CSS uploaded to a server?

No. All processing happens entirely in your browser. Your code never leaves your device.

Read Guide: How to Minify CSS ➔