SCSS Beautifier
Paste minified or messy SCSS code and get it back formatted with consistent indentation, one property per line, and proper brace spacing.
Last updated: May 21, 2026
Find this tool useful? Support the project to keep it free!
Buy me a coffeeWhat is SCSS Beautifier?
SCSS (Sassy CSS) is the primary SCSS syntax for Sass — a CSS superset that adds variables (`$var`), nesting, mixins, functions, and more. This tool reformats SCSS code with consistent indentation and spacing, handling the full range of SCSS syntax including `&` parent selectors, `@mixin`, `@include`, and `@extend`.
SCSS is valid CSS, so standard CSS properties are also formatted correctly.
How to Use SCSS Beautifier
Paste SCSS code into the input area or click "Load Sample"
Choose indent size (2 or 4 spaces)
Optionally place opening braces on a new line
Copy the formatted output
Common Use Cases
- Developers formatting compressed or auto-generated SCSS from build pipelines.
- Teams enforcing consistent SCSS formatting before committing to version control.
- Front-end engineers cleaning up SCSS from third-party component libraries.
- Developers quickly reformatting SCSS copied from documentation.
Example Input and Output
Minified SCSS with nested rules and $variables is reformatted.
$primary:#3b82f6;.card{background:$primary;.title{font-size:1.25rem;color:#fff;}}$primary: #3b82f6;
.card {
background: $primary;
.title {
font-size: 1.25rem;
color: #fff;
}
}Privacy
All formatting runs in your browser. No code is sent to any server.

