Runs in this tab · nothing uploaded

EN

English

हिन्दीComing soon

EspañolComing soon

Pinned
HelpyTools

More

CSS minifier

Shrink CSS by removing comments and whitespace, keeping strings, url() values and license comments safe.

Runs in your browserNothing uploadedWorks offline

Set up for this job. It runs on JS, CSS and HTML minifier, where every option is there to change.

Loading CSS minifierRuns on this device. Nothing is uploaded.

Questions

What does it remove?

Comments and whitespace that never matters. Spaces that change meaning, such as in calc(1px + 2px) or before :hover, are kept.

Does it merge or drop rules?

No. It does not rename classes, merge selectors or remove rules, so the result behaves exactly like your original.

Are license comments kept?

Comments that start with /*! or contain @license or @preserve are kept while Keep license comments is ticked.

All developer tools

↑ ↓ move↵ openesc close

The tray

Install HelpyTools

Get HelpyTools on your home screen or Dock. It opens in its own window, and tools you have opened once keep working offline.