CSS Optimizer

Optimizing your CSS code is very important if you are running a large site. CSS has a tendency to get cluttered, just like HTML does. This generator will format and optimize your CSS code using a variety of different compression settings.

Important Note: Your code should be well-formed. This is not a validator which points out errors in your CSS code. To make sure that your code is valid, use our CSS Validator.

If this site has been useful, we’d love your support! Running this site takes time and resources, and every small contribution helps us keep creating valuable content. Consider buying us a coffee to keep things going strong!
CSS Formatter and Optimiser/Optimizer (based on CSSTidy 2.0.3)
CSS Input:

Code Layout:

Options








Case for properties: