Useful Hacks

CSS Formatter

Format and beautify CSS stylesheets.

Processed locally in your browser. Nothing you enter is uploaded or stored.
  • One declaration per line, consistent bracing and spacing.
  • Handles minified stylesheets and copy-pasted rules alike.
  • Runs in your browser; styles aren't uploaded.

Why this is private

  • Processed locally in your browser. Nothing you enter is uploaded or stored.
  • Open your browser's DevTools → Network tab while using this tool — you won't see a request carrying your input, because it never leaves your device.
  • Nothing you enter is uploaded to a server or shared with us — the processing happens entirely on your device.

Overview

Reformats minified or inconsistently indented CSS into clean, readable rules.

How to use it

  1. 1Paste CSS.
  2. 2The formatted output updates automatically.

Frequently asked questions

What people use it for

Read a minified stylesheetExpand a production CSS file to find a specific rule.
Clean up CSS from dev toolsFormat computed or copied styles before adding them to your sheet.
Standardise a stylesheet before committingConsistent formatting keeps diffs meaningful.
Tidy generated CSSMake output from a build tool or framework reviewable.

Related guides

Related tools

All developer tools

Ready to use CSS Formatter?

CSS Formatter

Search tools

Search for any tool by name, category or keyword