Add to Chrome Add to Edge

CSS Formatter

Expand minified CSS so each rule and declaration sits on its own line.


CSS Formatter

Minified stylesheets are a single unreadable line. This tool puts each rule and declaration on its own line with consistent indentation.

How to use CSS Formatter

  1. Paste your CSS into Enter your CSS Code Here.
  2. Click Format Code.
  3. Copy the formatted stylesheet.

When it comes in handy

  • Reading and editing a minified stylesheet from a live site.
  • Standardising style before a code review.
  • Learning how a theme organises its rules.

Frequently asked questions

Will it change my selectors or values?
No. It only changes layout: whitespace and line breaks.
How do I shrink it again?
Use the CSS Minifier when you are ready to publish.

Related guides

Choose which cookies SEOpeck may use. You can change this at any time from "Cookie settings" at the bottom of every page.

Your tools

    Saved in this browser only. Nothing is sent to us.

    Popular tools