SCSS to Sass screenshot

SCSS to Sass

Convert brace-and-semicolon SCSS to the indented Sass syntax. Nesting is preserved, nothing is evaluated.

Privacy First
0 Runs
Updated 2026-11-06
No upload
Instant
No signup

What SCSS to Sass does

The braces go, the semicolons go, and nesting becomes indentation — two spaces per level. A multi-line selector list is put on one line, which is how the indented syntax writes it, and an empty block disappears because it has no spelling here. Variables, &, @media and // comments are carried through untouched: this is a syntax translation, not a compiler, so what you put in is what comes out. The reverse direction is Sass to SCSS, and a test asserts that a stylesheet survives the round trip unchanged.

How to use it

SCSS to Sass: paste the SCSS into the box above, and press Run to get the Sass below.

Worked example

Input:

$brand: #0066cc;
$gap: 8px;

// Cards share one radius.
.card {
  color: $brand;
  padding: $gap * 2;

  &:hover {
    color: #004a99;
  }

  .title {
    font-weight: 700;
  }
}

Output:

$brand: #0066cc
$gap: 8px
// Cards share one radius.

.card
  color: $brand
  padding: $gap * 2
  &:hover
    color: #004a99
  .title
    font-weight: 700

Why it runs in your browser

The conversion happens on this page with JavaScript. Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere. The page reads SCSS and returns Sass; reloading the page discards both.

The braces go, the semicolons go, and nesting becomes indentation — two spaces per level. A multi-line selector list is put on one line, which is how the indented syntax writes it, and an empty block disappears because it has no spelling here. Variables, `&`, `@media` and `//` comments are carried through untouched: this is a syntax translation, not a compiler, so what you put in is what comes out. The reverse direction is Sass to SCSS, and a test asserts that a stylesheet survives the round trip unchanged.

Convert brace-and-semicolon SCSS to the indented Sass syntax. Nesting is preserved, nothing is evaluated.

How to use it

SCSS to Sass: paste the SCSS into the box above, and press Run to get the Sass below.

Why it runs in your browser

The conversion happens on this page with JavaScript. Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere. The page reads SCSS and returns Sass; reloading the page discards both.

What to Expect

Best for

  • Converting SCSS to Sass when the data is already on screen.

What this tool keeps

  • Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere.

Sample input

$brand: #0066cc; $gap: 8px; // Cards share one radius. .card { color: $brand; padding: $gap * 2; &:hover { color: #004a99; } .title { font-weight: 700; } }

Sample output

$brand: #0066cc $gap: 8px // Cards share one radius. .card color: $brand padding: $gap * 2 &:hover color: #004a99 .title font-weight: 700

Frequently asked questions

How do I use the scss to sass?

SCSS to Sass: paste the SCSS into the box above, and press Run to get the Sass below.

Is my input uploaded?

No. The text is parsed on this page with JavaScript and is never posted to a server.

Is there a size limit?

Yes: 5 MB per run. Larger input is refused with a message rather than freezing the tab.

Developer program

Build custom tools for your store

Join the SDK program to create useful ecommerce utilities for your store.