CSS Formatter

Format CSS with Prettier — configurable print width and indent.

Runs entirely in your browser

FAQ

Does it work with SCSS or LESS?
It uses Prettier's postcss parser, which handles plain CSS well and supports many PostCSS features. For SCSS-specific syntax use Prettier locally with the SCSS parser.
Can I change the line length?
Yes — the Print width control sets Prettier's line-wrap threshold; 80 is the default, 100–120 is common for wide monitors.

Related tools