CSS Minifier Online — Free & Private
Minify CSS with a parser that preserves strings and CSS expressions.
CSS Minifier
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.
- Preserves spaces and comment-like characters inside quoted strings.
- Understands CSS tokens rather than deleting comments with a text pattern.
- Keeps class names and disables rule restructuring.
- Loads the minifier only when needed and processes the stylesheet locally.
How to use CSS Minifier
Minify CSS with a parser that preserves strings and CSS expressions. Everything runs in this tab — nothing is uploaded for the core job.
- Paste CSS.
- Minify CSS.
- Copy the one-line result.
- 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 tools
Popular available tools for everyday tasks. Browse categories or search the full catalog.
Star any tool — it appears under Favorites on this device.
Merge PDF
Combine several PDFs into one, in the order you choose.
Split PDF
Cut one PDF into two at a page you pick.
Compress PDF
Shrink file size by re-encoding each page.
PDF to JPG
Export every page as a high-res image.
JPG/PNG to PDF
Turn a stack of photos into one PDF.
Watermark PDF
Stamp a text or image watermark — positioned, tiled, or layered behind content.
Sign PDF
Draw a signature and place it on any page.
OCR PDF
Recognize text in scanned or photographed PDFs, then get a searchable PDF or a plain text file.
Image Compressor
Compress JPG without losing quality — shrink images for the web without uploading.
JSON Formatter
Format, validate and minify JSON, with clear error messages.
EMI Calculator
Calculate the monthly EMI for a loan amount, rate and tenure.
QR Code Generator
Turn text or a URL into a downloadable QR code image.
How this actually works
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.
Questions people actually ask
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)