SCSS to CSS Compiler

Compile SCSS to CSS online with the official Dart Sass compiler. Variables, nesting, mixins and loops; readable or minified output.

About SCSS to CSS Compiler

Paste SCSS and get plain CSS instantly. It is compiled with Dart Sass, the official Sass compiler, so variables, nesting, mixins, functions, maps, @each and @if loops and maths all work the same as in your build tool. Choose readable or minified CSS; errors show the line and column.

How to use it

  1. Paste your SCSS (or start from the sample).
  2. Choose readable or minified CSS.
  3. Copy the CSS or download it.

Compilers and when to use them

SCSS to CSS

SCSS is CSS with variables, nesting, mixins and functions, using braces and semicolons.

  • Turn a component's SCSS into CSS for a site without a build step
  • Check what a mixin or @each loop outputs
  • Learn Sass by comparing input and output
  • Minify styles for an email or embed

Sass to CSS

Indented Sass uses indentation instead of braces and semicolons.

  • Compile older .sass files from legacy projects
  • Convert Sass snippets from tutorials to CSS
  • Quickly test indented syntax

LESS to CSS

LESS adds variables, mixins, guards and colour functions to CSS.

  • Compile Bootstrap 3 or Ant Design style LESS
  • Migrate a LESS codebase by seeing plain CSS output
  • Test colour functions like fade() and darken()

Questions

Which compiler does it use?

SCSS and Sass use Dart Sass, the official reference compiler. LESS uses less.js, the official LESS compiler. Both run in your browser.

Can I use @import or @use for other files?

No. Only the code you paste is compiled, so inline any partials first. Built-in modules like sass:math and sass:color work.

Is my data uploaded?

No. Everything runs in your browser; nothing you paste or open is sent to a server.

More Developer & Code tools

Home · All Tools · Blog