ViewEarn.Find a tool ↗

CSS Minifier

Minify CSS with a CSS parser.

How to use CSS Minifier

Paste a stylesheet to compact it and compare byte sizes.

Using CSS Minifier

Minify a stylesheet when you want to remove formatting overhead while preserving the CSS rules. Keep the readable source as the file you edit and use the minified result as an output artifact.

What to check in the result

Minification does not test layout in every browser or remove every unused rule. Check media queries, custom properties and any parser error. Compare the site's appearance before replacing the stylesheet you maintain.

Questions about CSS Minifier

Should I edit only the minified file afterwards?

It is easier to maintain the original source and regenerate the minified output when it changes.

Related tools