TextText-based
text/tab-separated-values
TSV
Reference for text/tab-separated-values, the MIME type for tab-delimited data files used as an alternative to CSV.
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: .tsv, .tab
HTTP Content-Type Header
HTTP Header
Content-Type: text/tab-separated-values; charset=utf-8Associated File Extensions
.tsv.tab
Quick Facts
| MIME Type | text/tab-separated-values |
| Category | Text |
| Type | Text-based (human-readable) |
| Extensions | .tsv, .tab |
Common Usage
TSV uses tab characters to separate values instead of commas, avoiding ambiguity when data contains commas. It is commonly used in bioinformatics, linguistics corpora, spreadsheet applications, and data exports from databases and analytics tools.
Code Examples
HTML
<!-- Link or embed with explicit type -->
<link rel="stylesheet" href="file.tsv" type="text/tab-separated-values">
<!-- Or for script/media elements -->
<script type="text/tab-separated-values" src="file.tsv"></script>Node.js
// Express.js
app.get('/file', (req, res) => {
res.type('text/tab-separated-values');
res.send(data);
});
// Node.js http
res.writeHead(200, { 'Content-Type': 'text/tab-separated-values' });nginx
# nginx.conf — add to types block or use default
types {
text/tab-separated-values tsv tab;
}
# Or set for a specific location
location /api/ {
default_type text/tab-separated-values;
}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.