CSS Minifier

Remove comments and whitespace from CSS to shrink the file size.

Runs on your device. Files are never uploaded.
Report a problem

How to use CSS Minifier

  1. Paste your CSS
  2. Choose whether to keep /*! */ comments
  3. Copy the minified CSS

About this tool

Paste CSS and get a smaller version: comments removed, whitespace collapsed, zero units and trailing semicolons trimmed. Strings and url() values are left untouched. Keep licence comments if you need them.

Like every tool on YantraStack, it is free with no accounts, limits or watermarks, and it works offline once the page has loaded. See how to verify that nothing is uploaded.

Questions

Is minified CSS safe?

It behaves the same. Keep your original file, and test the page after deploying.

Guides

Related tools

↑ ↓ navigateEnter openEsc close