25tools

CSS Minifier

Free

Minify CSS to remove whitespace and comments, or beautify minified CSS back to readable code. Runs entirely in your browser.

  1. 1

    Paste your CSS into the input area.

  2. 2

    Click Minify to compress or Beautify to format.

  3. 3

    Copy the output or download it as a file.

Frequently asked questions

Typically 20–40% depending on how much whitespace and comments your CSS has.

No. Minification only removes unnecessary characters — the CSS behaves identically.

Yes, use the Beautify button to format minified CSS back into readable code.