SCSS Formatter

Client-sideNo sign-upFree

Beautify SCSS source (indentation, brace placement) while keeping it as SCSS.

Quick facts

Category
Formatters & Beautifiers
Best for
Cleaning up minified or inconsistently indented SCSS source for review
Input
✓ Formatted
Formatted output
$c: red; .a { color: $c; .b { margin: 10px; } }
Reformats SCSS source for readability (indentation, brace placement) while keeping it as SCSS - $variables and nested rules pass through as-is since this only adjusts whitespace, it never interprets or compiles SCSS syntax. To compile SCSS down to plain CSS instead, use the SCSS Compiler.
In-content slot
Was this tool helpful?
On this page

Overview

Paste SCSS and get it beautified with consistent indentation and brace placement - powered by js-beautify’s css_beautify, the same beautification engine used by the CSS Formatter and LESS Formatter. SCSS’s $variables and nested rules are structurally similar enough to plain CSS that css_beautify reformats whitespace cleanly without corrupting or attempting to interpret them - it never resolves variables or flattens nesting, it only adjusts layout. To actually compile SCSS down to plain CSS instead, use the SCSS Compiler. Runs entirely client-side.

Best for: Cleaning up minified or inconsistently indented SCSS source for review

How to use this tool

  1. Paste SCSS. $variables and nested rules pass through untouched as literal text.
  2. Beautified instantly. css_beautify reformats whitespace and brace placement, adjustable indentation.
  3. Copy the result. Copy the reformatted SCSS, still valid SCSS - not compiled CSS.

Frequently asked questions

No - it only reformats whitespace and brace placement. $variables, nesting, and mixins pass through exactly as written. To get compiled plain CSS instead, use the SCSS Compiler.

No - SCSS’s brace-and-semicolon structure is close enough to plain CSS that css_beautify handles $variables and nested selectors as ordinary tokens, the same way it already does for LESS’s @variables in the LESS Formatter.

Explore more free tools

Formatters, converters, validators, and generators - all free and running entirely in your browser.

Browse more tools