Skip to content
Devtoolry

CSS Minifier

Minify CSS by stripping comments and whitespace to reduce stylesheet size.

About the CSS Minifier

The CSS Minifier removes comments, whitespace and redundant characters from stylesheets to cut download size without changing how pages look.

Everything runs in your browser, so your input is never uploaded to a server.

How to use the CSS Minifier

  1. Paste CSS or open a file.
  2. Compare the original and minified size.
  3. Copy or download the minified CSS.

Frequently asked questions

Will minified CSS behave differently?

No. Only characters that do not affect the rules are removed.

Should I keep the original?

Yes. Edit the readable version and minify it again for production; minified CSS is hard to maintain.