<!-- Markdown version of https://ocxly.com/css-minifier.html · auto-generated, may lag the live page -->

# CSS Minifier

Shrink CSS by stripping comments and needless whitespace — safely preserving strings, calc() spacing and combinators. See how many bytes you save. Runs in your browser.

### How it works

Minifying removes what browsers ignore: `/* comments */`, indentation, line breaks, and spaces around `{ } : ; ,`. This tool is deliberately conservative — it protects text inside quotes and leaves spaces around `+ - > ~` untouched, so `calc()` expressions and selector combinators keep working. Everything runs locally; your CSS is never uploaded.

---
*Source: [ocxly.com/css-minifier.html](https://ocxly.com/css-minifier.html) — OCXLY, free 100% client-side privacy-first tools. Free CSS minifier. Strip comments and whitespace to shrink your CSS, safely preserving strings, calc() spacing and selector combinators. See bytes saved. Runs entirely in your browser.*
