CSS Minifier & Beautifier

Minify CSS by removing comments, whitespace, and redundant units, or beautify minified CSS into readable code. See bytes saved. Free, runs in your browser.

Minified
169 B
Original
126 B
Result
25%
Saved

Frequently asked questions

What does CSS minification remove?

Comments, extra whitespace, final semicolons, empty rules, units on zero values, and long hex colors that have a short form.

Are license comments kept?

Yes. Comments starting with /*! are preserved, which is the convention for licenses.

Is calc() safe?

Yes. Spaces inside calc(), clamp(), min(), and max() are kept because they are required.