Skip to content
snip tools

CSS beautifier

Reformat minified CSS into a readable, indented form — fully client-side.

Runs 100% in your browser
 

How to beautify CSS

  1. Paste minified CSS. Drop in the squashed CSS.
  2. Choose indent. 2 or 4 spaces, or tabs.
  3. Copy or download. Grab the beautified CSS.

About CSS beautifying

Compiled CSS bundles (Tailwind, PostCSS, SCSS output) are typically minified down to one giant line. Beautifying makes selectors and declarations readable so you can spot rule conflicts, audit cascade order, or copy a specific rule into a debugging snippet.

Frequently asked questions

What does the CSS beautifier do?
Re-formats minified CSS — one rule per line, indented properties, consistent spacing.
Will it parse my CSS?
js-beautify works at the token level, not a full CSS parser, so even slightly-malformed CSS will format reasonably. For full validation use the CSS minifier (csso) which does a real parse.
Does anything leave my browser?
No. Beautifier runs locally; the strict CSP blocks all outbound calls.