CSS Minifier

Paste CSS, get the minified version — or paste minified CSS and get it readable again.

100% FREE & Unlimited Use — No Sign-Up, No Spinning Wheels — Your Files Never Leave Your Device

How it works

Minify strips comments and every space CSS does not need — around braces, colons, semicolons and commas — while leaving the spaces CSS does need (between values, in media queries, inside strings) untouched. Beautify runs the other way: one declaration per line, indented by nesting level, so minified or machine-generated stylesheets become something a human can review. The status line always reports before-and-after sizes and the exact percentage saved.

Frequently asked questions

How much will I save?
Typically 15–30% on hand-written CSS. The bigger win is combining minification with gzip/Brotli on your server, which this pairs with naturally.

Is the minified output safe?
The minifier never touches the inside of strings or url(...) values, and keeps spaces that separate values. As with any minifier, test the page after swapping the file in.

Why keep spaces around + in calc()?
Because CSS requires them there — calc(100% - 10px) breaks without them. This minifier plays safe in calc() rather than shaving two more bytes.

Your privacy

This tool runs entirely in your browser, on your own device. Nothing you type, paste or open here is uploaded to a server, saved, or shared — close the tab and it is gone. That is the standing rule for every tool on Just SEO Tools.