SeitenreportSEO & website analysis since 2007

Free · without registration

Reduce CSS and format readably

Reduce CSS or make a compact file readable again. Processing runs locally with a CSS parser; selectors and rules are not merged or rearranged.

Entry Processing

Fully local · up to 500 KB · no transfer of your input

Smaller files through compact syntax

A CSS minimiser removes superfluous formatting and compactly writes the syntax. This can reduce the file size, but it does not replace HTTP compression or the removal of actually unused rules. This tool focuses on presentation: it does not sort selectors and does not summarize rules whose order might be important for the cascade.

Why a parser instead of simple replacements

CSS contains strings, functions, URLs and custom properties. A blanket removal of spaces can, for example, damage calc expressions. The Minifier therefore processes the input with CSS Tree. Syntax problems appear instead of repairing them automatically. Comments with /*! are retained in the compact edition as possible license notices; normal comments are removed there.

Formatting for maintenance and troubleshooting

The formatter inserts blocks with two spaces and makes declarations easier to read. Comments, selectors and values are preserved. Already removed original comments or variable names cannot be reconstructed. For permanent development, you should continue to maintain the original sources in the build process and generate the compact file from them.

Check results before exchange

Open a maximum of 500 KB of UTF-8-CSS locally or paste the text. Then compare important page types and responsive views with the previous file. A passed syntax check does not guarantee support in every target browser. SCSS, Sass and Less must first be translated into CSS. The tool does not create a source map and does not make any changes to your website.

Example of classification

Spaces within a string or calc expression perform a different function than the indentation before a rule. The parser-based compact output takes this distinction into account.

Frequent questions

Is the CSS file uploaded?

No. Reading, parsing and output are done locally in the browser.

Can the tool process SCSS or Less?

No. Please compile to regular CSS first.

Will unused rules be removed?

No. Without knowledge of HTML, JavaScript and states, the tool cannot reliably determine which rules are unused.