piko

CSS Minifier

Remove unnecessary spacing from CSS while keeping values and selectors intact.

Runs on your device. Nothing you add is uploaded.

How to use CSS Minifier

  1. Paste the CSS source.
  2. Review the compact stylesheet.
  3. Copy the output.

Questions

What does the tool change?
Ordinary comments are removed. Comments beginning with /*! are kept.
Where is my input processed?
On your device. The tool does not upload the input or its result.

How this works

Uses a CSS Tree parser and serializer to reduce unnecessary token spacing.

Everything happens in this browser tab. What you type or add stays on your device, and the page has no tracking. Your last settings are kept in this browser so the tool opens the way you left it. Privacy

Related tools

More in Developer