CSS formatter

0 uploads — runs entirely in your browser, works offline

Formatted CSS

CSS formatter — beautify or minify

Paste CSS and get it cleanly indented, or minified for production. It formats in your browser (0 uploads, works offline).

How to use it

  1. Paste your input into the left pane.
  2. Choose any options above the panes.
  3. The result updates live on the right — Copy or Download it.

FAQ

How do I format or minify CSS for free?

Paste your CSS and it is re-indented with consistent spacing in your browser, with no upload. Tick minify to strip whitespace and comments for a smaller production file instead.

Does formatting change how my CSS works?

No — only whitespace and layout change. The rules, selectors and values are untouched, so the formatted and minified versions render identically.

Is my CSS uploaded?

No. Formatting runs locally and nothing is stored; it works offline.

Does it validate my CSS?

It formats rather than lints — it will tidy valid CSS but does not report errors or unknown properties.

Limits

A pragmatic formatter, not a full linter. Deeply nested at-rules are indented but not specially reformatted.

Related

The HTML and XML formatters tidy those; the JSON formatter handles JSON.

Bookmark this page (Ctrl+D, or ⌘D on Mac) or install the app — it works offline the next time you need it.