Home / Developer Tools / CSS Minifier

CSS Minifier

Compress CSS by stripping comments and whitespace.

How to use

  1. Paste your CSS.
  2. Click minify.
  3. Copy the compact result.

Frequently asked questions

How much smaller does it get?

Typically 20-40% for hand-written CSS - more if it's heavily commented.

Related tools

  • JavaScript Formatter — Format JS/JSX with the real Prettier engine.
  • JavaScript Minifier — Minify JS with Terser - the real production minifier.
  • SQL Formatter — Format SQL queries with uppercase keywords and clean indentation.
  • YAML Formatter — Re-indent and normalize YAML documents.
  • YAML Validator — Check YAML syntax - catch indentation errors fast.
  • YAML ↔ JSON — Convert YAML to JSON and JSON to YAML.

See all developer tools