CSS Compressor Tool

Use this utility to compress your CSS to increase loading speed and save on bandwidth as well. This CSS compressor tool is written in javascript so it's all client side (no transmitting your CSS to someone elses' server), and it has a few more capabilities, plus configurable options. It basically takes out comments and whitespace from a CSS file, which can save more space than you might imagine. Your page will load faster too. Page load speeds are very important and this tool will help with this greatly.

Options:

(Note: This strips /* */ style comments. This is the only valid type of CSS comment. This could screw with browser hacks, you might prefer 'strip long comments'.)

(Note: Similar to above, but will only strip comments with the number of characters you specify inside them. Will match less browser hacks.)

(Note: When unchecked, all newlines will be removed. Checking this box will place a newline between each separate rule.)

Old CSS Code In:


Bytes:

 

New Optimised CSS Code Out:


Bytes:
Savings:

If you found the CSS Compressor Tool useful, please link to it as others might too.