Built and fact-checked by the DocNectar team — see our editorial standards
Key Features
Instant Calculation
Get accurate results in real time with our optimized algorithm.
Mobile Friendly
Fully responsive design. Works on all devices & screen sizes.
Privacy Focused
Your data stays on your device. We don't store any inputs.
100% Free
No hidden costs. This tool is completely free forever.
Minified CSS is efficient for browsers but unreadable for humans — this tool re-indents it so each rule and declaration is easy to scan.
This tool formats CSS by placing each declaration on its own line, properly indented within its rule.
How it works
Paste your CSS. The tool splits each rule at its opening brace and each declaration at its semicolon, placing every declaration on its own indented line and closing each rule with its brace back at the outer indentation level.
- Enter cSS input.
- Click Calculate to see your results.
Examples
Formatting a minified rule
.box{color:red;margin:0} becomes a properly indented three-line rule with each declaration on its own line.
Who should use it
- Making minified or copy-pasted CSS readable again for debugging.
- Cleaning up styles before sharing them with a teammate.
Industry applications
- Web development
- Front-end debugging and code review
Advantages
- Instantly turns minified CSS into a readable, indented structure.
- Handles typical nested rules like media queries reasonably well.
Limitations
- A simple brace-based indenter, not a full CSS parser — very unusual syntax may not format perfectly.
Common mistakes to avoid
- Expecting the formatter to catch invalid CSS syntax — it reformats but doesn't validate.
- Pasting CSS with unusual or deeply nested at-rules and expecting perfect formatting — this is a simple indenter, not a full parser.
Best practices
- Use this for a quick readability pass on minified or copy-pasted CSS during debugging.
Tips
- Format CSS before diffing two versions in version control — indentation differences are much easier to spot in properly formatted code.