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 · When to Format or Minify HTML, CSS and JavaScript


Avatar

DTool Team

Product Team

We build simple, reliable browser tools that make everyday digital work faster.

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

Learn how we use cookies