⚡ Developer Tool
Free CSS Minifier
Compress & optimise your CSS instantly — remove whitespace, comments & redundant code.
📝 Input CSS
0 bytes
✅ Minified CSS
0 bytes
How It Works
📝
Paste or Upload
Paste CSS directly or upload a .css file from your computer.
⚙️
Choose Options
Toggle which optimisations to apply — comments, whitespace, colours and more.
⚡
Instant Minification
Processing happens in milliseconds — no waiting, no queues.
⬇️
Copy or Download
Copy to clipboard or download the minified .css file instantly.
🔒
Secure & Private
Your code is never stored. Processing is done in memory and discarded immediately.
🆓
100% Free
No account, no limits, no watermarks — free forever.
Frequently Asked Questions
What is CSS minification?
CSS minification removes unnecessary characters — whitespace, comments, and redundant separators — from a stylesheet without changing what it does. Smaller CSS files load faster and improve your page's Core Web Vitals score.
Will minifying break my CSS?
No. Our minifier only removes syntactically insignificant characters. The resulting CSS is functionally identical to the original and will render exactly the same in every browser.
How much can CSS be reduced?
Typical CSS files shrink by 20–80% depending on how heavily commented and indented the original is. Bootstrap's full CSS, for example, goes from ~180 KB down to ~30 KB when minified.
Can I upload a .css file?
Yes. Click the "Upload .css file" button in the options bar. The file contents will load into the editor and you can minify it just like pasted code.
Is my code stored on your servers?
No. All processing is done server-side in real time. Your CSS is processed and immediately discarded — nothing is ever logged or stored.
What optimisations does this tool apply?
Depending on the options you select: removal of block & inline comments, collapsing of whitespace and newlines, removal of empty rule blocks, shortening of numeric values (e.g. 0px → 0), and shortening of hex colours (e.g. #ffffff → #fff).