Skip to content
Ovatly

CSS Minifier

100% PrivateDeveloper Tools

Minify CSS safely by removing comments and wasted space without changing what it does.

Runs entirely in your browser. Your input is not uploaded to Ovatly or anywhere else.

  1. 1Paste your CSS into the input box.
  2. 2Press Minify CSS.
  3. 3Check the size report: characters in, characters out and the percentage saved.
  4. 4Copy or download the minified CSS.

About this tool

The CSS Minifier shrinks stylesheets by removing comments, collapsing whitespace and dropping spaces around punctuation, while protecting strings, data URIs and calc() expressions that break if their spaces are touched. It reports the exact size saving so you can see whether the minified file is worth shipping.

Related tools

Advertisement

Part of Ovatly's free tools in Developer Tools.