TextText-based

text/x-sass

Sass (Indented)

Reference for text/x-sass, the MIME type for indented Sass syntax stylesheets, the original Sass format.

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: .sass

HTTP Content-Type Header

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

Associated File Extensions

.sass

Quick Facts

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

Common Usage

Sass (indented syntax) is the original format of the Sass preprocessor, using indentation instead of braces and semicolons. While SCSS is more popular today, the indented syntax is still preferred by some developers for its cleaner, more minimal appearance.

Code Examples

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

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

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

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

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.