MENU

CSS Compressor


ADD LINE BREAK AFTER EVERY { } RULE

You can compress one CSS file or combine multiple files to one bigger CSS script.

ADD LINE BREAK AFTER EVERY { } RULE
No Errors

CSS COMPRESSOR FAQ

This online CSS compressor can take your CSS scripts and automatically detect and remove older CSS scripts that modern web pages do not use to display your web pages. It also minifies unnecessary large CSS rules into much smaller code. The actual style and layout of a web page will not be affected by using this compressor.

By removing or minifying all the unneeded code it reduces the file size of your CSS scripts. Having a smaller sized CSS script means your visitors can load your website faster because they need to download less kilobytes.

Yes, click on the UPLOAD & COMPRESS FILE(S) tab and choose the CSS file you want to compress. Click on the red Select More Files link to upload more than one file. If you choose to upload and compress multiple CSS files they will be combined into one bigger script.

That is up to you to decide. If you click the ADD LINE BREAK AFTER EVERY { } RULE option you can make it readable by forcing the compressor to add a line break after every CSS rule. Even though the size difference is minimal, keep in mind that if you want the smallest of the smallest CSS script you should not use this option because the new lines add to the file size of the script.

WANT TO ACHIEVE MAXIMUM PAGE SPEED?



Let us take care of your website performance like we've taken care of our own:
CLICK
to learn more

MORE PAGE SPEED TOOLS

CSS Optimization Test

Analyze your CSS to make improvements to the CSS Delivery.

CSS Compressor

Minimize CSS scripts and files for page speed.

Javascript Optimization Test

Analyzes the Javascript delivery of your web pages.

Javascript Compressor

Minify your JS files and scripts to maximize performance.

GZIP Compression Test

Check whether your web pages have Gzip compression enabled.

Image Optimization Test

Tests your image delivery so you can improve it.

PNG Compressor

Reduce your PNG image filesize while keeping quality.

JPEG Compressor

Play with the quality and size of JPEGs to save disk space.

CSS Sprites Generator

Place multiple images in one image to make fewer requests.

Caching Test

Check how and whether your website files are cached.

Broken Links/Requests Test

Test your web pages for broken links and requests.

HTTP Requests Checker

How many HTTP requests do your web pages produce?

B
Base64 Encoder

Encode JPEG and other files into a Base64 string.

Keep-Alive Checker

Check whether your website has keep-alive settings as enabled.

Line Breaks Remover

Remove line breaks from your scripts to save disk space.

HTTP Header Checker

Check the HTTP server header of your site.