CSS Minifier

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

Written and hosted by Andrew Chilton (@andychilton) since 2009.

Input CSS

Minified Output

Languages

Many people have sent language examples over the years, but we want more! We'd love to add more examples in your favourite programming language, so please send them our way. Email andychilton at that gmail place in the sky, tweet me @andychilton, or open an issue or PR on webdev-sh/cssminfier.com.

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

Plugins

Many of our users have made plugins for various editors which are listed on the plugins page.

Django Helper

Gustavo Vargas has written a Django plugin which allows you to use both and javascript-minifier.com from within your projects.

Sublime Text 2 Plugin

Thomas Lété has made a Minifier plugin for Sublime Text 2. Thanks Thomas.

Krusader File Manager

Jon Toffy made a plugin for the Krusader File Manager

PHP Library

Tony Almeida made a PHP Library - PHP-JS-CSS-Minifier- to help minify both CSS and JS files in your PHP projects. Thanks Tony!

Programs

Lots of people are making little programs to use CSS Minifier - see the programs page.

GGG-KILLER

GGG-KILLER made a C# program to use both CSS Minifier and JavaScript Minifier : https://github.com/GGG-KILLER/CSS-And-Js-Minifier.

Kotlin Minifier

CraicOverflow89 made a Kotlin minifier : https://github.com/CraicOverflow89/CSS-Minifier

(Ends)