CSS Minifier

Minify CSS to reduce file size.

100% Private — Nothing is Uploaded

All processing happens locally in your browser. Your files never leave your device and are never sent to any server.

Options

Other languages

About the CSS Minifier

This tool reduces the size of CSS files by removing comments, extra whitespace, and unnecessary characters. It also shortens 6-digit hex colors to 3 digits where possible (e.g. #ffffff → #fff).

What gets removed

  • Comments (/* ... */)
  • Extra whitespace and line breaks
  • Trailing semicolons before closing braces
  • Redundant spaces around { } : ; ,