CSS Beautifier
Make a minified stylesheet readable again.
About this converter
One rule per line, one declaration per line, indented — which is what you want when reading a stylesheet you pulled off a page or out of a build.
Unlike JavaScript, CSS loses nothing to minification but its layout. There are no names to mangle, so a beautified stylesheet is genuinely equivalent to the one that was written, and you can read it as though it had never been compressed.
Comments in the source are kept. If the stylesheet was minified they are already gone, which is a property of the minifier rather than of this page.
Frequently asked questions
Is the formatted CSS identical to the original?
In behaviour, yes — CSS has nothing equivalent to variable mangling, so the only thing minification removed was layout and comments. Put a minified stylesheet through here and you get back something you can read and edit with confidence.
Why did my comments not come back?
Because the minifier removed them, and nothing in the minified file records that they were there. Formatting can restore structure, never content.
Does what I paste get sent anywhere?
No. Everything runs in your browser, on your own machine. Nothing is uploaded and nothing is logged. That matters more here than on most pages — source code, database queries and internal data are exactly the things that get pasted into tools like this, and most of them are a form that posts to a server.