CSS Beautifier — Unminify & Format CSS Online

Reformat minified or compressed CSS into readable, indented code instantly — the reverse of minifying. Free, client-side CSS beautifier and unminify tool.

🔒 100% Client-Side Processing

Your data is processed entirely in your browser and never transmitted to any server.

0 / 100M Limit

Common Use Cases

Reading a third-party minified stylesheet

Expand a vendor or CDN CSS file into readable, indented rules to see what a selector actually sets before overriding it.

Recovering from an accidental minify

Reformat CSS that got compressed by a build tool or copy-paste, back into a workable, editable structure.

Frequently Asked Questions

What does the beautifier do to minified CSS?
It adds a line break after every { and ; and before every }, then indents nested rules two spaces per level — turning a single compressed line back into readable, structured code. Comments (/* ... */) are stripped in the process.
Will this restore my original spacing exactly?
Not exactly — minifying is lossy (original indentation style and comments are gone for good), so this produces clean, consistent formatting rather than a byte-for-byte reversal. The CSS itself is functionally identical either way.
Can this also minify CSS?
Not on this page — this tool only expands CSS for readability. Use the CSS Minifier to compress it back down.
Is my data private when I use this tool?
Yes. This tool runs entirely in your browser using client-side JavaScript — nothing you type is transmitted to, logged by, or stored on any server. You can safely process confidential text, tokens, or code.