This site has been acquired by
(Attention! API endpoint has changed)

CSS Minifier

Online CSS Minifier/Compressor. Free! Provides an API. Simple Quick and Fast.


# minifying some CSS
curl -X POST -s --data-urlencode 'input=p { color : red; }'

# minifying a CSS file (e.g. style.css -> style.min.css)
curl -X POST -s --data-urlencode 'input@style.css' > style.min.css

Click on the language of your choice to see an example: