Skip to content
No uploads · runs in browser

CSS Minifier

Compress CSS for deployment or expand minified CSS back into something readable.

Favorite it to find it fast on home

When to use it

Shrink CSS before deploy, often 30% smaller
Expand minified CSS back into something readable
Strip comments and duplicate whitespace

How to use it

1Step 1Paste your text into CSS input to start
2Step 2Press Run and the result appears below
3Step 3Use the copy button to take the result anywhere

If the result looks off

The result looks cut off

Use the copy button to get the full result.

My input disappeared

It is saved on this device. Clearing browser storage removes it too.

Frequently asked questions

Will minifying break my styles?

Only comments, whitespace, and the last semicolon are removed, so behavior is unchanged. Test on staging anyway.

Will minifying break my styles?

Only comments, whitespace, and the final semicolon are removed. Verify on staging before deploying anyway.

Related tools

View all →