Skip to content
ToolsLeb ToolsLeb

CSS Beautifier

Re-indent minified or compact CSS for readability.

Paste your minified or compact CSS

Share on Social Media:

Paste minified or compact CSS to reformat it with clean indentation, one selector/declaration per line.

Frequently Asked Questions

No — only whitespace and formatting change. The declarations, selectors, and values are preserved exactly.

No — it reformats whitespace and indentation only. If the input has a genuine syntax error (like an unclosed brace), that error carries through unchanged into the output.

It works best on plain CSS. SCSS/LESS-specific syntax like nesting, variables, or mixins may not format cleanly since the beautifier isn't a preprocessor-aware parser.

This tool only beautifies (expands and indents). For the opposite — compressing CSS for production — use the CSS Minify tool instead.