Format CSS with consistent indentation using Prettier in your browser.
Type or paste on the left — the result updates as you type.
Does not render CSS or fetch referenced assets. Invalid syntax is rejected; formatting is not a CSS compatibility check.
Up to 100,000 UTF-16 units per input and 1,000,000 per result. See the supported formats and examples below.
Tool page updated: 2026-09-27