Input
Compact CSS.
Output
About CSS Minify
CSS Minify strips all non-significant whitespace from a CSS document and produces the most compact valid representation. The result is semantically identical to the input — the same data, the same structure, just without indentation or line breaks. Use it when you need to embed a payload in an environment variable, pass data through a CLI argument, or reduce the byte size of a fixture before committing it to version control.
Common uses
- Compact CSS for use in environment variables, CLI arguments, and embedded payloads.
- Strip whitespace after formatting a document for readability so you can copy a transport-ready version.
- Reduce file size before checking in fixtures, test data, or configuration blobs to version control.
- Copy the compacted output without sending your source text to an external server.
Related tools
FAQ
What does CSS Minify do?
CSS Minify helps you compact CSS. It runs entirely in your browser, so your data stays local and results appear instantly without any server round-trip.
What kind of input does CSS Minify accept?
You can paste text directly into the input area or upload a file. The tool processes the content on the client side and displays the result immediately. There are no file-size limits imposed by the tool itself.
Is CSS Minify free to use?
Yes — CSS Minify is completely free and requires no sign-up or account. There are no usage limits for standard minifier tasks.
Does CSS Minify send my data to a server?
No. CSS Minify runs entirely in your browser using JavaScript. Text you paste and files you upload never leave your machine, so it is safe to use with sensitive payloads, API tokens, and internal configuration data.