About this tool
Paste SCSS (or the older indented Sass syntax) and get plain CSS that browsers understand. The compiler is Dart Sass, the official Sass implementation, running in your browser, so the output matches what your build tool produces.
Everything Sass does
- Variables, nesting,
&, placeholders and@extend. @mixinand@include,@function,@if,@each,@forand@while.- The built-in modules:
@use "sass:math",sass:color,sass:list,sass:map,sass:string. - Errors with the line and column, and warnings such as deprecations.
Your own partials can’t be imported because there are no other files here: paste their contents above the code that uses them instead. The first compile downloads the compiler (about 6 MB), which then stays cached.
SCSS or Sass?
SCSS uses braces and semicolons and is a superset of CSS, so any CSS file is already valid SCSS. The indented syntax (.sass files) uses indentation instead. Both compile to the same CSS; SCSS is far more common today.
FAQ
How do I convert SCSS to CSS?
Paste the SCSS and it is compiled with Dart Sass as you type. Copy the CSS or download it.
Does @use "sass:math" work?
Yes. All built-in Sass modules work. Importing your own files does not, because only the pasted code is available; paste partials inline.
Which Sass version is used?
The current Dart Sass release, the official reference implementation, so deprecated features show the same warnings as in your build.
Can I get minified CSS?
Yes, choose Minified to use Sass’s compressed output style.
Is my code uploaded?
No. The compiler runs in a Web Worker in your browser.