Files stay on your device Use CSS Minifier ↓

CSS Minifier Online — Free & Private

Minify CSS with a parser that preserves strings and CSS expressions.

No sign-up required Files stay on your device Works offline once loaded

Loading the tool workspace…

Minify a CSS stylesheet with CSSO, a real CSS parser and optimizer. String contents, URLs, calc expressions and custom-property values are handled as CSS syntax. Rule restructuring is disabled, and important license comments are retained. Invalid declarations or syntax the parser cannot handle safely produce an error.

Minifying runs in this tab. CSS text is not uploaded.

Large files and OCR need sufficient device memory; review the downloaded result before using it.

Minify CSS with a parser that preserves strings and CSS expressions. Everything runs in this tab — nothing is uploaded for the core job.

  1. Paste CSS.
  2. Minify CSS.
  3. Copy the one-line result.
  4. Keep the original if you still need to edit it.

Privacy proof for CSS Minifier

This tool processes input in your browser. Open DevTools → Network while you run it to check the requests. Some tools need downloaded libraries on their first use.

Popular available tools for everyday tasks. Browse categories or search the full catalog.

Star any tool — it appears under Favorites on this device.

Available tools process your files and text on your device. Choose the operation you need, check its supported inputs and limits, and keep the original file until you have reviewed the result. PDF compression offers a lossless mode and optional image-based modes; image-based exports lose selectable text. Scanned PDFs need OCR for text extraction. OCR language models may need an initial download. Some catalog operations are still being completed and are clearly marked as unavailable. A current browser and sufficient device memory are required. Optional sign-in stores activity metadata, not your documents.

Will it remove unused CSS?

No. The tool has no information about your HTML or runtime class names.

Are strings with spaces preserved?

Yes. Strings and CSS tokens are parsed before minifying.

Can it beautify CSS?

This page minifies. Keep the original source for editing.

Does every experimental CSS syntax work?

Support follows the installed CSSO parser. Unsupported syntax produces an error instead of a partial result.

From our blog: How to Use CSS Minifier Online (Free & Private)