Sass to SCSS screenshot

Sass to SCSS

Convert the indented Sass syntax to SCSS: braces and semicolons, nesting kept. No evaluation.

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

What Sass to SCSS does

Indentation becomes braces, and every declaration gets its semicolon. Two older spellings are read as well as the modern one: :color red becomes color: red, and the +name(...) / =name(...) sugar becomes @include name(...) / @mixin name(...). Both are what a .sass file written before 2015 actually contains, and a converter that rejected them would be rejecting the files it exists for. Comments, variables and nesting pass through unchanged.

How to use it

Sass to SCSS: paste the Sass into the box above, and press Run to get the SCSS 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 Sass and returns SCSS; reloading the page discards both.

Indentation becomes braces, and every declaration gets its semicolon. Two older spellings are read as well as the modern one: `:color red` becomes `color: red`, and the `+name(...)` / `=name(...)` sugar becomes `@include name(...)` / `@mixin name(...)`. Both are what a `.sass` file written before 2015 actually contains, and a converter that rejected them would be rejecting the files it exists for. Comments, variables and nesting pass through unchanged.

Convert the indented Sass syntax to SCSS: braces and semicolons, nesting kept. No evaluation.

How to use it

Sass to SCSS: paste the Sass into the box above, and press Run to get the SCSS 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 Sass and returns SCSS; reloading the page discards both.

What to Expect

Best for

  • Converting Sass to SCSS 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 sass to scss?

Sass to SCSS: paste the Sass into the box above, and press Run to get the SCSS 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.