TextText-based

text/x-scss

SCSS

Reference for text/x-scss, the MIME type for SCSS (Sassy CSS) stylesheet files with variables, nesting, and mixins.

MIME Type Detector

Drop a file to detect its MIME type — no upload, runs in your browser

📄

Drop any file here or click to choose

Expected extensions: .scss

HTTP Content-Type Header

HTTP Header
Content-Type: text/x-scss; charset=utf-8

Associated File Extensions

.scss

Quick Facts

MIME Typetext/x-scss
CategoryText
TypeText-based (human-readable)
Extensions.scss

Common Usage

SCSS extends CSS with variables, nesting, mixins, functions, and modular imports. It compiles to standard CSS.

SCSS is widely used in large web projects, design systems, and UI component libraries for maintainable, DRY stylesheets.

Code Examples

HTML
<!-- Link or embed with explicit type -->
<link rel="stylesheet" href="file.scss" type="text/x-scss">

<!-- Or for script/media elements -->
<script type="text/x-scss" src="file.scss"></script>
Node.js
// Express.js
app.get('/file', (req, res) => {
  res.type('text/x-scss');
  res.send(data);
});

// Node.js http
res.writeHead(200, { 'Content-Type': 'text/x-scss' });
nginx
# nginx.conf — add to types block or use default
types {
    text/x-scss  scss;
}

# Or set for a specific location
location /api/ {
    default_type text/x-scss;
}

Related MIME Types

More Text MIME Types

Other text types in the Text family

Related Tools

Explore More MIME Types

Browse our complete reference of 185 MIME types with usage examples, HTTP headers, and code snippets.