What does the CSS Minifier remove?
It removes comments, indentation, line breaks, and unnecessary whitespace around selectors, declarations, and punctuation.
Formatter
Minify CSS online by removing comments, whitespace, and unnecessary formatting. Compress stylesheets locally in your browser.
Minify CSS online by removing comments, whitespace, and unnecessary formatting. Compress stylesheets locally in your browser.
This tool runs in your browser. Your input is processed locally and is not uploaded.
Use this free CSS Minifier to reduce the size of stylesheets without changing their intended rules. Paste CSS code, remove comments, indentation, line breaks, and unnecessary spacing, and copy or download the compressed result. Everything is processed directly in your browser, so private stylesheets and project code are not uploaded.
It removes comments, indentation, line breaks, and unnecessary whitespace around selectors, declarations, and punctuation.
It should not. The minifier preserves selectors, properties, values, custom properties, media queries, and other CSS rules.
Regular comments can be removed to reduce file size. Important license comments beginning with an exclamation mark may be preserved.
No. CSS processing runs locally in your browser.