CSS Formatter

Indent stylesheets or minify them.

Loading tool

This tool runs in your browser. Nothing is uploaded.

Paste a bundle or a component sheet and indent rules. Minify drops comments and extra space.

How to use this tool

  1. Paste the snippet. Drop JSON, code, or a token into the input. It is not sent to a server.
  2. Run the action. Format, decode, or generate. Parse errors stay on the page.
  3. Copy the output. Copy the result back into your editor or terminal.

Limits

This is a formatter, not a linter. It will not catch invalid properties. Nested CSS is indented but not compiled to flat selectors.

Frequently asked

Will it reorder properties?

No. Order is preserved.

Are source maps updated?

No. Minify for humans, not for a production pipeline.

Can it format SCSS?

SCSS-specific syntax may break. Prefer compiled CSS.

Does it prefix vendors?

No.

Is the CSS uploaded?

No.