Developer Tools

CSS Minifier

Minify CSS rules to reduce whitespace in small stylesheets, embeds and production snippets.

About this tool

Minify CSS rules to reduce whitespace in small stylesheets, embeds and production snippets.

Best use cases

Use it for compact style snippets, demos, small static pages and reducing copied CSS blocks.

Input and output

Input: CSS code. Output: minified CSS text.

Important limits

For large production assets, a build pipeline with source maps is usually better.

How to use

  1. Paste CSS.
  2. Run minification.
  3. Review compact CSS.
  4. Copy the output.

FAQ

Is CSS Minifier free?
Yes. CSS Minifier is free to use in the browser and does not require registration.
Can I use the result in production?
You can use the result as a practical helper, but important output should be reviewed and tested in the target system.