CSS Minifier

Minify CSS by removing comments and unnecessary whitespace to shrink stylesheet size. Runs entirely client-side — nothing is uploaded.

0
Original gzip (bytes)
0
Output gzip (bytes)
0%
Gzip saved %

Markup too? HTML minifier · scheduled deploys: Cron parser · px → rem: px to rem.

Ship leaner stylesheets

Minified CSS downloads faster and reduces render-blocking time. Keep a readable source copy and minify a production build before deploying.

FAQ

What does the CSS minifier do?

It tokenizes the stylesheet, removes ordinary comments and redundant whitespace, and keeps strings, custom-property values, calc() operator spacing, license comments, and source-map comments intact.

Is the output safe to deploy?

The tool validates balanced strings, comments, brackets, and blocks before producing output. Always test generated CSS, especially browser-specific hacks.

Does it work offline?

Yes. The minifier runs in your browser and never uploads your stylesheet.

Last updated: