CSS Minifier

Minify CSS code to reduce file size

Input

What is CSS Minifier?

CSS Minifier compresses your CSS code by removing whitespace, comments, and redundant syntax. Smaller CSS files load faster, improving page speed scores and user experience.

How to use

  1. Paste your CSS code into the input area or upload a .css file.
  2. Click minify to compress — the tool removes comments, whitespace, and shortens values.
  3. Copy the minified output or download it as a .css file. Check the compression ratio shown.

Result

A 24KB stylesheet with comments and formatting minifies to 16KB — a 33% reduction that shaves 50ms off load time on 3G connections.

Related Tools