CSS Prettify

Prettify and format minified CSS code with proper indentation, spacing, and readability. Perfect for making compressed CSS code readable again.

Prettify Options

Indentation

Spacing

Line Settings

Minified CSS Input

CSS Prettify Tips

What Gets Prettified

• Adds proper indentation and line breaks
• Formats selectors on separate lines
• Organizes CSS properties with consistent spacing
• Adds readability to compressed CSS
• Maintains all original CSS functionality

Best Practices

• Use consistent indentation throughout
• Choose between spaces or tabs based on team preference
• Consider line wrapping for very long selectors
• Add final newlines for better git diffs
• Use prettified CSS for development and debugging