> codebench_TOOL: HomeLOCAL-ONLY⌘K Switch

CSS Prettier

Tool guide

Format and restructure CSS/SCSS

Input: This tool processes input in your browser. Check in Network (opens in a new tab)

Width:
Tab:
Input
Output (Formatted)
Paste CSS/SCSS, then press ⌘Enter to format

Format CSS and SCSS with configurable print width, tab size, and optional restructuring — sort properties, merge duplicate selectors, remove duplicates. Preview changes with a built-in diff view.

Browse CSS / SCSS tools

> codebench $Ctrl+Enter Run