How to use the css minifier
- Paste your CSS.
- Copy the minified result.
- Keep your original for editing.
Safe by design
The minifier only removes whitespace and comments and the last semicolon in each block. It never renames or merges rules, so the result behaves exactly like your original. Spaces inside calc() are kept because they are required there.
Examples
92 bytes, 28% smaller
a{color:red}