How to Minify CSS Code

How to Minify CSS Code

What is CSS minification

If the site uses CSS (Cascading Style Sheets), the server must pass them to the browser each time a resource is requested. And this affects the website speed. The more complex the style files, the longer the visitor will wait until the site is fully loaded. Using CSS compression can reduce code size and improve site performance.

How to minify CSS code

Check whether your page needs CSS compression using the tool above. If the page has some unoptimized parts of CSS you will see similar message as on the picture below.

compress css

After getting this info, try to use tools recommended by Google, like CSSNano and csso.

Check other of our awesome SEO tools!
Traffic Checker Estimate website traffic stats by different channels & in different periods.
Rank Checker Get a report with keywords that bring the website the most of organic traffic.
Speed Test Test a specific page for speed and get suggestions how to improve it.
Backlinks Checker Our free backlink checker tool will help you monitor links to your website.
Website Safety Check out that the website is safe and not listed as suspicious.
Similar Websites Free tools allowing users to get information on similar sites in a few seconds.
View all tools

Check your website SEO performance

Get a personalized checklist on how to improve your website to rank higher on Google