Free · No sign-up · Runs in browser
CSS Formatter
Pretty-print CSS with configurable indentation. Handles rules, media queries, and nested at-rules. 100% client-side.
CSS Input
Formatted
// Formatted CSS will appear here…
CSS Formatter
Pretty-print minified or hand-written CSS so it's readable in code review. Handles nested at-rules and media queries, aligns property values on each line, and uses the indentation style you pick.
Related
Shrink the output with the CSS Minifier.
Nested rules
Media queries and nested at-rules indent correctly.
Instant
Formatting runs in your browser.
Fully private
Styles stay on your device.