Skip to content
Desirly

Developer tools

CSS Minifier

Minify CSS online: strip comments, whitespace and redundant semicolons to shrink stylesheets. Free CSS compressor.

How to use the CSS Minifier

  1. 1

    Paste your CSS.

  2. 2

    Click Minify.

  3. 3

    Copy the compressed CSS.

About this tool

Compress a stylesheet by removing comments, line breaks and unnecessary characters, while keeping strings and URLs untouched.

Frequently asked questions

Is minified CSS harder to edit?

Yes, so keep the original and minify a copy for production.

How much will I save?

It depends on your comments and formatting. The tool shows the exact saving.

Your cookie choices

We use essential cookies to run this site. With your permission we would also use Google Analytics to see which pages help people. Cookie notice

Settings