Skip to content
UniKit

SCSS Convert

Expand SCSS into real CSS: `$vars` substituted, nesting and `&` parent selectors flattened, simple `@include` inlining, comment removal, with compact or one-block-per-line output. Arithmetic and colour functions are deliberately not evaluated (documented, to avoid wrong numbers).

Runs in your browserEvery computation happens in your browser — your data never leaves this device.

SCSS source

Result

The result can be copied directly.

Enter SCSS to see the compiled CSS

Characters: 0 · Lines: 0

What this tool does

  • Turn a SCSS snippet into CSS you can paste into `<style>` directly.
  • See which selectors nesting expands to before migrating a legacy project.
  • Check what `&:hover` parent references actually resolve to.

Example

Input

$c: red;
.card { color: $c; }
.card .t { font-weight: bold; }

Output

.card{color: red}.card .t{font-weight: bold}

Real expansion: `$vars` substituted, nesting and `&` flattened into full selectors, `@include` inlined; arithmetic and functions are out of scope (see FAQ).

Frequently asked questions

Which SCSS features are supported?

Variable substitution, nesting, `&` parent selectors, simple `@include` inlining and comment removal.

Is arithmetic evaluated?

No. Expressions such as `$w / 2` or `darken($c, 10%)` are left as-is — a deliberate boundary so no wrong numbers are emitted.

Are `@mixin` definitions expanded?

`@include name(...)` becomes an approximate `name: args…;` declaration; the `@mixin` body itself is not evaluated.

Can the output be compact?

Yes — “Compact output” is on by default; turn it off to keep one selector block per line.

Keywords:scss-convertformatconverterdeveloper

Related tools