Home » Developer Tools » SCSS Minifier
Paste SCSS source and get a smaller SCSS file in seconds, with variables, nesting, and mixins kept intact.
Your code never leaves your browser. Everything runs locally on your device.
This tool minifies SCSS source. It strips comments and extra whitespace while keeping variables, nesting, mixins, media queries, and extends exactly as SCSS. It does not compile SCSS to CSS, so the output is still SCSS, ready to feed to your Sass build step.
That distinction matters, because a plain CSS minifier would break SCSS syntax. This tool understands SCSS constructs and keeps spaces exactly where a selector or a value needs them, for example in descendant selectors and inside calc expressions. Everything runs in your browser, so your code is never uploaded to a server.
Yes, it is completely free with no sign up and no limits. You can minify as much SCSS as you like, as often as you like.
No. This tool minifies SCSS source. The output is still SCSS, with variables, nesting, and mixins intact, and you compile it with Sass as usual.
Yes. Minifying only removes comments and extra whitespace. Your variables, nesting, mixins, and media queries are unchanged.
Yes. Spaces that act as descendant combinators are always kept, so a selector that targets a child element keeps targeting that child element.
Yes. Spaces around plus and minus inside calc expressions are kept, because calc needs them to parse correctly.
No. All minifying happens in your browser on your own device, so your code never leaves your computer.
If your SCSS needs tidying up instead of shrinking, try the SCSS beautifier to format it into clean readable code.