SCSS to LESS screenshot

SCSS to LESS

Translate SCSS syntax to LESS: variables, interpolation and comments. Nothing is evaluated.

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

What SCSS to LESS does

The two languages are close enough that the translation is a mapping, not a rewrite: the variable sigil becomes @, so $brand: #0066cc is @brand: #0066cc and every use follows; interpolation #{…} becomes @{…}. Selectors, nesting, &, arithmetic and comments are already shared syntax and are left alone. A $name inside a quoted string is data, not a variable, and is not touched.

How to use it

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

Worked example

Input:

$radius: 4px;
$tone: primary;

.card-#{$tone} {
  border-radius: $radius;
  color: #004a99;
}

Output:

@radius: 4px;
@tone: primary;

.card-@{tone} {
  border-radius: @radius;
  color: #004a99;
}

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 LESS; reloading the page discards both.

The two languages are close enough that the translation is a mapping, not a rewrite: the variable sigil becomes `@`, so `$brand: #0066cc` is `@brand: #0066cc` and every use follows; interpolation `#{…}` becomes `@{…}`. Selectors, nesting, `&`, arithmetic and comments are already shared syntax and are left alone. A `$name` inside a quoted string is data, not a variable, and is not touched.

Translate SCSS syntax to LESS: variables, interpolation and comments. Nothing is evaluated.

How to use it

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

What to Expect

Best for

  • Converting SCSS to LESS 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

$radius: 4px; $tone: primary; .card-#{$tone} { border-radius: $radius; color: #004a99; }

Sample output

@radius: 4px; @tone: primary; .card-@{tone} { border-radius: @radius; color: #004a99; }

Frequently asked questions

How do I use the scss to less?

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