HTML Runner

CSS Beautifier

Make compressed CSS easier to read with consistent indentation and line breaks.

How to use CSS Beautifier

Format a stylesheet, then inspect the indentation inside a media query. Keep declaration order when reviewing the result.

Limitations

This formatter expects CSS. Sass variables and Less mixins belong in their respective toolchains.

Frequently asked questions

Will it reorder properties?

Prettier formats the parsed stylesheet and preserves declaration order.

Test your web code in the live HTML workspace.

Related resources