Hussam Tools

Search tools

Search for a tool by name, description, or tag

Processed locally in your browser

CSS Minifier & Formatter

Minify CSS to shrink file size, or format it back into clean, readable code.

Input CSS
Output
Paste some CSS to minify or format it.

Frequently asked questions

Is my CSS uploaded anywhere?
No. Minifying and formatting both happen locally in your browser — your code is never sent to a server.
What does Minify remove?
Comments, unnecessary whitespace, and redundant semicolons — without changing how your styles render.
Will minifying break calc() or url()?
No. The tool keeps the contents of calc(), url(), and similar functions intact, since removing spaces inside them — like calc(100% - 10px) — would change their meaning.
What does Prettify do?
It reformats minified or messy CSS with consistent indentation and one declaration per line, making it easy to read again.