Apps / Text & Developer Tools / CSS Minifier & Beautifier

{ } CSS Minifier & Beautifier

Paste CSS, then squash it to a compact one-liner or re-indent it into clean, readable, one-declaration-per-line CSS — all in your browser.

This is a hand-rolled, string/comment-aware formatter, not a full CSS parser. It preserves the contents of quoted strings (like content: "a;b") exactly, and — because calc() requires spaces around + and - to stay valid — it never removes whitespace around those two operators, so minified output stays slightly less compact but never breaks a calc() expression.

1. Paste CSS

2. Result