CSS Formatter
Indent minified CSS, one declaration per line, with the rules spaced out.
- Privacy
- This tool runs in your browser. Nothing you enter is sent to Wayfind.
- Filed under
- Filed under
Indent minified CSS, one declaration per line, with the rules spaced out.
No. Only the whitespace between tokens changes. Selectors, properties, values, colours, comments and their order are exactly as you wrote them, so the stylesheet behaves identically.
Yes. Custom properties, nesting, at-rules such as media, supports, layer, container and keyframes, and functions such as calc, clamp and colour syntaxes are all indented as the structures they are.
Yes. Paste the minified CSS and it is written back out over many lines. Names that were shortened when the file was built stay short: no formatter can recover the original names.
No. It is formatted in this browser tab, in a background worker, and never leaves your device.