My Learning

Keep this for later

Sign in or create a free account to save it. You’ll return to this page afterward.

Sign inCreate an account

CSS Minifier

Compact CSS while retaining its rules.

How to use this tool

Paste CSS and select Process input. Test the compact output with your stylesheet.

Important to know

Compact CSS while retaining its rules.

The parser may reject unsupported or malformed syntax. Always test the result before replacing production CSS.

Formula and methodology

Parses CSS and renders it using the parser’s compact output format.

Frequently asked questions

Are comments retained?

Not necessarily. Do not rely on comments surviving the minification step.