CSS Minifier

Minify CSS files to reduce file size.

Drop file here or click to select
Minify
Size reduction
Copy

How CSS Minifier works

CSS Minifier runs entirely as JavaScript on this page. What you type stays in the page and is not sent anywhere; reloading clears it.

Limits

Check it yourself

Open the Network tab of your browser's developer tools (F12) while you use the tool: no request carries your input. The page's Content-Security-Policy only allows our anonymous error counter (what it receives). Step-by-step: how to check that a tool doesn't upload your file.

Use it from code

The same job is available as a REST endpoint, /api/css-minify, and through the MCP server. Unlike this page, the API receives your input on our server; it is processed in memory and not stored. Anonymous calls are free within fair-use limits.

curl -X POST https://toolsthatdontupload.com/api/css-minify \
  -H "Content-Type: application/json" \
  -d '{"css":"body { color: red; }"}'

OpenAPI spec · MCP setup

Related tools

CSV Viewer · Text Diff · Hash Generator · Hex Converter · HTML Preview · All tools