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.
Frequently Asked Questions
Does this compile SCSS to CSS?
No — this tool only formats existing SCSS code. To compile SCSS to CSS, you need the Sass compiler (sass npm package or a build tool like Vite or webpack with sass-loader).
What is the difference between SCSS and SASS syntax?
SCSS uses CSS-like brace syntax (compatible with CSS). The original SASS syntax uses indentation instead of braces. This tool handles SCSS (brace) syntax.
Related Tools
LESS Beautifier
Format and beautify LESS stylesheets online. Fixes indentation, normalizes spacing around braces and properties, and handles nested rules and variables.
CSS Beautifier / Formatter
Format, indent, and beautify minified or messy CSS code — with configurable indentation and sorting options.
CSS Minifier
Compress and minify CSS code to reduce file size and speed up page loads.
CSS to SCSS Converter
Convert plain CSS into cleaner SCSS with optional selector nesting, Sass variables, formatting, copy, and download output.
CSS Validator
Validate CSS syntax online. Checks for unclosed braces, missing colons, empty rules, and invalid property/value pairs using CSS.supports().
CSS to LESS Converter
Convert plain CSS into cleaner LESS with optional selector nesting, LESS variables, formatting, copy, and download output.

