CSS Formatter

Beautify or minify CSS stylesheets.

Your data is processed in your browser and is not uploaded to our servers.

About the CSS Formatter

CSS Formatter makes stylesheets readable with one property per line and consistent indentation, or minifies CSS by removing comments and whitespace for faster websites.

How to use the CSS Formatter

  1. Paste your CSS.
  2. Choose the indent size.
  3. Click "Beautify" or "Minify".

Frequently asked questions

How much does minifying save?

Usually 15–30% depending on comments and formatting; server compression saves more on top.

Are comments removed?

Minify removes comments; beautify keeps them.