Skip to main content

CSS Minifier

Everything is processed in your browser. Nothing is uploaded.

About this tool: CSS Minifier

CSS minification deletes comments, extra whitespace and the last semicolon in each rule, shrinking stylesheets without changing how they render. Paste your CSS and see the exact size saved before and after.

Common uses

  • Tidying a snippet before pasting it into a pull request or ticket
  • Shrinking CSS or JavaScript for a quick size check
  • Making a one-line SQL query from a log readable

Frequently asked questions

Will it merge or reorder my rules?
No. It only removes characters that are not needed, so the cascade stays the same.
How much can I save?
Hand-written CSS often shrinks by 20 to 40 percent. Gzip compression on your server reduces it further.