CSS Formatter

Format and minify CSS stylesheets

How to use

  1. Paste your CSS, minified or unformatted.
  2. It's reformatted with consistent indentation and spacing.
  3. Copy the tidy CSS back into your stylesheet.

Why use this tool

Frequently asked questions

Does it change my styles?

No. Only whitespace and formatting change — selectors, properties, and values are preserved exactly.

Can it minify CSS too?

For shrinking CSS for production, use the Minify CSS tool; this one focuses on making CSS readable.

Is my CSS private?

Yes — it's formatted locally in your browser.

Back to all tools