Instructions ยท CSS Formatter

  1. Open the HTML file in a modern browser. Review Security Check and select Continue.
  2. Open a UTF-8 CSS file or choose Paste CSS. Open Sample demonstrates nested rules and a custom property.
  3. Choose the indentation and opening brace style, then format the source.
  4. Compare the original and formatted CSS. Choose Copy CSS or Download CSS.

UTF-8 CSS up to 1 MiB, with up to 96 nested blocks and a 4 MiB formatted-output limit. Parses stylesheet structure and retains source tokens.