SmartKitio

CSS Formatter

Indent CSS rules and declarations locally.

Your input stays in your browser. Nothing is uploaded.

Input
Output

About this tool

Braces and semicolons drive indentation. Strings are left intact. It is not PostCSS or Prettier.

How it works

Open CSS Formatter, enter or upload what you need, then run the tool. Copy or download the result. Use Reset or Clear when you want a fresh start.

indent on { } and ;

Examples

  • One rule

    body{color:red} becomes a multi-line rule.

FAQ

Does it understand SCSS?
Nested braces are indented, but SCSS-specific syntax is not validated.
Is my data uploaded?
No. Formatting, encoding, and generation run in your browser.
Can I use this offline after the page loads?
Yes, as long as the page stays open. Nothing is sent to a SmartKitio API.