Add to Chrome Add to Edge

CSS Minifier

Compress a stylesheet by removing comments and unneeded whitespace.


CSS Minifier

Stylesheets are render-blocking, so smaller is faster. This tool removes comments and unnecessary whitespace from your CSS to shrink the file.

How to use CSS Minifier

  1. Paste your CSS into Enter your CSS Code Here.
  2. Click Minify Code.
  3. Copy the minified stylesheet.

When it comes in handy

  • Preparing a production stylesheet for a small site.
  • Shrinking inline CSS in email templates and landing pages.
  • Testing how much a stylesheet can be reduced.

Frequently asked questions

Should I keep the original file?
Yes. Minified CSS is hard to read, so always edit the original and re-minify when you deploy.
Will it merge or rewrite my rules?
No. It removes characters you do not need but keeps your selectors and declarations as they are.

Related guides

Choose which cookies SEOpeck may use. You can change this at any time from "Cookie settings" at the bottom of every page.

Your tools

    Saved in this browser only. Nothing is sent to us.

    Popular tools