🎨 CSS Formatter
Format, beautify, and minify CSS. Syntax highlighting, rule count, and one-click copy. Everything runs in your browser — your code never leaves your device.
Indent:
📝 Input CSS
0 characters
✅ Formatted Output
🎨
Formatted CSS will appear here
💡 Tips
Format
Paste raw or minified CSS and it will be pretty-printed with your chosen indentation. Supports nested rules and at-rules.
Highlight
Selectors, properties, values, at-rules, and comments are color-coded for easy reading.
Minify
Click Minify to strip comments and whitespace, compressing CSS to the smallest possible size.