CSS Minifier
Minify CSS code
Processed securely in your browser
How to use this tool
Compress stylesheet syntax for delivery while retaining the meaning of expressions and custom properties.
Paste CSS into CSS input.
Choose Minify.
Compare the output, then copy or download it and test it on your page.
Practical example
A verbose white color value may be shortened, while required spacing inside calc expressions is preserved by the parser.
Limits and troubleshooting
Invalid CSS is rejected. A smaller stylesheet can still contain incorrect rules; minification does not check layout behavior across browsers.
About CSS Minifier
Compress valid CSS while preserving expressions such as calc and custom properties. Invalid syntax must be corrected first. All processing happens directly in your browser — your files never leave your device.