CSS Minifier

CSS Minifier

Compact CSS for delivery.

Try this example

Paste the sample and minify it. Check that both declarations are still present.

.card { margin: 0; padding: 12px; }

Expected result

.card{margin:0;padding:12px;}

For production code, compare the rendered page against the original CSS, especially when using custom properties or new syntax.

Related walkthrough · Prepare a safe test copy before using an online tool

Cookie
We care about your data and would love to use cookies to improve your experience.

Learn how we use cookies