Format SCSS stylesheets with Prettier. Supports nesting, mixins, @use, @forward, variables, and @each/@for control rules. Configurable indent. 100% browser-based.
The SCSS Formatter is a Prettier-powered, browser-based tool that instantly reformats SCSS stylesheets into clean, consistently indented output. Using Prettier's postcss parser with the SCSS dialect, it handles the full Sass feature set — nesting, variables (`$`), mixins (`@mixin` / `@include`), `@use`, `@forward`, `@extend`, `@each`, `@for`, `@while`, placeholder selectors, and `@if`/`@else` blocks. Configurable indentation and an 80-column print width produce output consistent with modern Sass project conventions. All formatting runs in a Web Worker; your stylesheets never leave the browser.
QWhich Sass features are supported?
All Dart Sass features — including the modern module system (@use, @forward), nesting, mixins, functions, loops (@each, @for), conditionals (@if/@else), and placeholder selectors. The legacy @import syntax is also handled.
QWill this compile SCSS to CSS?
No — this tool formats SCSS syntax for readability. To compile SCSS to CSS, use the SCSS Compiler tool.
QIs my SCSS sent to a server?
No. All formatting runs locally in a Web Worker inside your browser. Your stylesheets never leave your device.