CSS Beautifier

Format and pretty-print minified or messy CSS with proper indentation, line breaks, and consistent spacing.

Input CSS
Formatted CSS

About CSS Beautifier

CSS Beautifier reformats compressed or poorly written CSS into a consistent, readable style. Each selector gets its own line, each property is indented, and braces are placed consistently. This makes it much easier to review, debug, or edit CSS that came from a minifier or code generator.

Features

  • Consistent formatting — Each rule block is clearly separated with blank lines.
  • Configurable indent — Choose 2 spaces, 4 spaces, or tab indentation.
  • Multi-selector support — Selectors separated by commas are each placed on their own line.

FAQ

No. Beautifying only adds whitespace and newlines. It does not alter any values, selectors, or properties, so the output CSS is functionally identical to the input.
No. All formatting runs in your browser. Your CSS is never transmitted to any server.