iLoveMyFile

CSS Formatter

Beautify minified or messy CSS: one rule per block, one property per line.

Input

Paste CSS above, or upload a .css file.

How to use CSS Formatter

  1. Paste your CSS or upload a file.
  2. Click Format CSS.
  3. Copy the result or download it.

Frequently asked questions

Can it un-minify CSS?

Yes. That is its most common use: it turns a single long line back into readable rules.

Does formatting change how my styles work?

No. Only spacing and line breaks change.

Does it work with SCSS or Less?

Plain SCSS and Less usually format well, but the tool is built for standard CSS.

Is my text uploaded to a server?

No. This tool runs entirely in your browser, so what you paste never leaves your device.