CSS Minifier

Compress CSS for smaller files or format it for easier reading. Strings, URLs, media conditions, and calc() spacing are handled locally in your browser.

Gustavo, the stone gargoyle mascot, head and shoulders with a knowing grin

Your CSS stays in this browser. Standard comments are removed when minifying.

Original: 0 bytes · Output: 0 bytes · 0% saved

Notes

Minify removes standard CSS comments and redundant whitespace. Keep /*! important comments */ is enabled by default; calc() operators and media-query condition spacing are preserved.

Original and output sizes use UTF-8 bytes. Percentage saved compares the output size with the original and may be negative if formatting or preserved comments make output larger.

CSS is processed in this browser. It is not uploaded or saved in browser storage.

Frequently asked questions

Does minification keep required calc() spaces?

Yes. Spaces around + and - operators inside calc() are retained so expressions such as calc(100% - 20px) remain valid.

Can I keep important CSS comments?

Yes. The checked Keep /*! important comments */ option preserves those comments while removing standard comments.

Is my CSS uploaded?

No. Minification and formatting run in your browser; your CSS is not uploaded or saved in browser storage.