Questions and answers

Will my declarations be changed or reordered?

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.

Does it understand modern CSS?

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.

Can it unminify a stylesheet from a website?

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.

Is my stylesheet uploaded anywhere?

No. It is formatted in this browser tab, in a background worker, and never leaves your device.

  • HTML Formatter Indent minified or tangled HTML, including the CSS and JavaScript inside it.
  • JavaScript Formatter Indent minified or crowded JavaScript without moving a single token.
  • Colour Converter Convert a CSS colour to HEX, RGB, HSL, HWB, OKLCH, Lab and CMYK, and check its contrast.
  • JSON Formatter Format, validate and minify JSON, with the exact line and column of any error.

More Developer tools