How to minify CSS and how much it really saves

Smaller CSS loads faster. CSS minifier strips what browsers do not need.

Steps

  1. Paste your CSS.
  2. Choose whether to keep licence comments.
  3. Copy the minified result.

Use cases

  • Quick one-off sites without a build tool.
  • Inline CSS in emails and widgets.
  • Checking how much space is wasted.

Tips

  • Keep your readable source file and publish the minified one.
  • Gzip or Brotli on the server saves more than minifying alone, and they work together.
  • Test the page after replacing the file.

All guides

↑ ↓ navigateEnter openEsc close