SCSS to CSS Converter
Compile SCSS into plain CSS right in your browser. Variables, nesting, mixins, functions, maps and loops are handled by a full Sass compiler, and mistakes are reported with the line number.
How to Convert SCSS to CSS
Quick answer: paste your SCSS or open a file; the CSS appears below. Copy it or download the .css file.
-
1
Add your SCSS
Paste it or open a file.
-
2
Choose options
Adjust the output on the right.
-
3
Check the CSS
Errors show the line number.
-
4
Copy or download
Save it as .css.
What You Get
What Is SCSS?
SCSS is the most popular syntax of the Sass style language. It looks like CSS but adds variables, nesting, mixins, functions and partials, so styles stay organised and consistent. Browsers cannot read SCSS directly; it must be compiled into plain CSS first.
What Is CSS?
CSS (Cascading Style Sheets) is the language that styles web pages: colours, fonts, spacing, layouts and animations. Every browser reads CSS directly. Plain CSS repeats selectors and values a lot in larger projects, which is why many developers write in a preprocessor such as SCSS or LESS and compile it to CSS.
Why Convert SCSS to CSS?
Browsers only understand CSS, so SCSS must be compiled before it can be used. Setting up a build tool for a quick test, a small site or a snippet from a tutorial is overkill. Here you paste the SCSS and get the CSS instantly, ready to paste into a style tag, a website builder or a content system.
How the Conversion Works
The full Sass language is supported: variables, nesting with &, mixins with arguments, functions, maps, @each and @for loops, placeholder selectors with @extend, and the built-in colour and math modules. Expanded output is easy to read; minified output removes all extra spaces for the smallest file. Older features that will be removed in future Sass versions still work and are mentioned in the status line.
Example
The card sample compiles to a .card rule with its padding, radius and shadow from the mixin, a .card .title rule with the brand colour, a .card:hover rule, and two text size classes created by the @each loop.
Tips
If you see an error, the message names the line. Undefined variables usually mean a variable is used before it is defined or comes from another file; paste that file's content above. Keep compiled CSS and SCSS side by side while learning to see how each feature translates.
Who Uses It?
Front-end developers, students learning Sass, designers testing snippets and anyone who needs CSS from SCSS without installing tools. Because the code never leaves the device, it is also safe for private and client projects.
Step by Step
Paste your SCSS into the input box, drop a file onto it, or press Open File. The CSS appears in the output box straight away and updates as you type, so you can fix errors and see the effect immediately. Adjust the options on the right. When it looks right, press Copy to put the result on your clipboard, or Download to save it as a .css file. Press Sample to see a worked example first.
Using Your CSS
Paste the CSS into a style tag, a stylesheet file linked from your pages, a website builder's custom CSS box or your content system's theme settings. Keep the source file as your master copy and edit that, then compile again, rather than editing the CSS directly, so your variables and mixins stay useful. Minified output is best for live websites; expanded output is easier to read and review.
About the Output
Expanded output puts each rule and declaration on its own line, which is easiest to read, review and edit. Minified output removes every unnecessary space and line break to make the file as small as possible for live websites. Both contain exactly the same styles. If you are learning, compare the compiled CSS with your source line by line to see how variables, nesting and mixins turn into plain rules.
Private, Free and Instant
The converter is free, with no sign-up and no limit beyond the 5 MB text size. Everything runs in your browser, so private source code, client projects and unreleased work are never uploaded or stored. It works on Windows, Mac, Linux and Chromebooks, and on tablets and phones.
Frequently Asked Questions
Questions about SCSS to CSS