CSS Prettify
Format and indent minified CSS into clean, readable code, live as you type.
Formatted with Prettier, live as you type, entirely in your browser. Nothing you type is sent anywhere.
Need the opposite? Use CSS Minify
What is CSS Prettify?
Paste minified or compact CSS and get it reformatted into clean, indented code instantly, powered by Prettier — the same formatter many code editors use. Handy when you've pulled a stylesheet from a production site's devtools, a bundler's output, or a legacy file that was minified years ago and never checked into version control readable — reformatting it makes the selectors and rules actually reviewable before you edit them. The formatting runs in your browser, so the CSS never has to leave your machine.
FAQ
Prettier's CSS parser, running entirely in your browser via its standalone build.
Yes, use CSS Minify to strip comments and whitespace for production.