Home
Tom Utilities

CSS Minifier

HTML, CSS & JavaScript

Compress CSS by removing comments and unnecessary whitespace.

Input

Result

How to use

How to minify CSS

Press Minify to remove comments and collapse whitespace.

  1. Paste CSS into the input editor.
  2. Press Minify.
  3. Copy the compressed stylesheet.

Frequently asked questions

Are vendor prefixes kept?

Yes, all declarations are preserved, only whitespace and comments are removed.

Does it break calc expressions?

No, whitespace inside calc and similar functions is protected.