Free, no signup, runs in your browser

Free online CSS formatter and beautifier

Paste your CSS and press Format: every declaration goes on its own line, indented by 2 spaces, 4 spaces or a tab, with a blank line between rules. Minified CSS becomes readable in one press. Your browser does it all, so your code is never sent to a server.

Everything runs in your browser. What you paste isn't sent anywhere.

Indent

Is this CSS for a page you want online?

Upload the page's HTML file or paste its code, and Convika gives it a link that opens in any browser. Free, no signup.

How to format CSS online

  1. Paste your CSS into the box, or open a .css file from your device.
  2. Pick an indent and press Format.
  3. Press Copy or Download to take the formatted CSS.

How do I unminify CSS?

Paste the minified CSS and press Format. Each rule gets its own block and each declaration its own line, so a one-line stylesheet becomes one you can read and edit.

Does formatting change how my CSS works?

No. Formatting changes only spaces and line breaks. Selectors, properties, values and their order stay as they are, so the page looks the same.

Can it format media queries and keyframes?

Yes. Rules inside @media, @supports and @keyframes are indented one level inside their block, so you see at a glance which rules belong to which condition.

Guides

See all guides

Licenses