CSS minifier

Your workspaceProcessed on your device

Undo: Ctrl/Cmd+Z · Redo: Ctrl/Cmd+Shift+Z or Ctrl+Y. Up to 20 steps and 4 million retained characters in this tab. Clear discards history.

A few things to know.

Rule restructuring is off by default. Minify flat CSS; compile nesting or preprocessors first. Unparsed rules or declarations are refused. This is not a complete CSS standards validator; original parser details may be in English. The default keeps top-level /*! ... */ comments; comments inside rules or nested blocks may be lost. Review required notices and test the result in its target browsers and application. Limit: 1 million characters.

  1. Paste CSS or load a local stylesheet.
  2. Choose comment preservation and restructuring settings.
  3. Minify, review byte savings, and download the stylesheet.