Tab-Separated Values MIME Type
text/tab-separated-values represents TSV tables, where it differs from CSV, and how Poly searches and reads it. MIME type details for text/tab-separated-values
In active use| MIME type | text/tab-separated-values |
|---|---|
| Extensions | .tsv |
| First standardized | 1993 |
| Created by | Paul Lindner |
| Browser support | Chrome, Edge, Firefox, Opera, Safari |
| Example applications | Microsoft Excel, Apple Numbers |
| Poly support | Yes. Poly accepts files identified as `text/tab-separated-values` and makes their readable text available without changing the original data. |
| Indexed by Poly | Yes. Poly indexes readable TSV text and filenames for full-text and semantic search. |
| Preview in Poly | Partial. Poly offers a spreadsheet-oriented preview for this media type, but availability can depend on the connected preview service. |
| Poly agent | Partial. Poly's file-reading tools can read and reason about TSV text, but tabular interpretation can vary between agent experiences. |
What does text/tab-separated-values mean?
The text/tab-separated-values media type identifies tab-separated values, usually shortened to TSV. A TSV file stores a table as plain text: each line is a record, and horizontal tab characters separate fields within that record. The registered filename extension is .tsv, and there is no distinctive magic number.1
TSV is useful when the values themselves commonly contain commas. A name such as Seattle, WA needs quoting in many CSV files but does not conflict with a tab delimiter. That simplicity comes with a firm constraint in the IANA definition: fields cannot contain literal tabs, and records are single lines.1
How is a TSV file structured?
The IANA registration describes a header line containing field names, followed by one or more records. Every record has the same number of fields. Tabs separate the names and values, while an end-of-line sequence separates records.1
For example, the visible spacing below represents tab characters:
name city postal_code
Ada London SW1A 1AA
Lin Seattle, WA 98101
The format has no formal quoting system comparable to RFC 4180 CSV. The registration recommends escaping a tab, newline, carriage return, or backslash inside data as \t, \n, \r, or \\. That convention only works when producer and consumer agree to decode the escapes. A generic TSV reader may leave those two-character sequences untouched.1
Where did text/tab-separated-values come from?
Paul Lindner of the University of Minnesota Internet Gopher Team registered the media type with IANA in June 1993.2 The registration itself serves as the de facto specification. Unlike CSV, which later received a common format description in RFC 4180, TSV has no separate standards document that resolves every detail of encoding, escaping, headers, or line endings.3
That loose specification explains why real files differ. Some omit the header row, some use .txt, and applications may choose their own character encoding or newline convention. For reliable interchange, document the encoding, whether a header is present, and how embedded control characters were escaped.
How do you open a .tsv file?
Microsoft Excel, Apple Numbers, LibreOffice Calc, database tools, and ordinary text editors can open tab-delimited data. Excel can import a delimited text file and lets you select the tab separator, character encoding, and column interpretation.4 Numbers can import delimited text and lets you adjust parsing settings when columns are not detected correctly.5
Current Chrome, Edge, Firefox, Opera, and Safari can retrieve a text/tab-separated-values resource. Depending on response headers and local settings, the browser may show the source as text or download it. Browsers do not promise a spreadsheet grid for this media type, so use a spreadsheet or data tool when column alignment matters.6
Because TSV has no magic number, changing a file's extension does not convert it. A file named .tsv should still be checked for a consistent tab-delimited structure and a known character encoding.
Support in Poly
Poly recognizes text/tab-separated-values and indexes its readable content. You can search for an exact header or value, or use semantic search to find a relevant dataset by meaning. Poly also records ordinary file details such as the name and size.
Files carrying this media type use Poly's spreadsheet-oriented preview. That preview depends on a connected service and may not be available in every environment. Poly preserves the original file, so you can always download it and open it in a spreadsheet or text editor.
Poly's file-reading tools can retrieve the TSV as text, allowing the agent to inspect headers, rows, and values. TSV does not declare durable types or relationships, so the agent must infer whether a field represents a date, identifier, measurement, or other value. Provide a data dictionary when those meanings matter.
TSV compared with CSV and spreadsheets
| Format | Delimiter and structure | Best fit | What it does not preserve |
|---|---|---|---|
TSV (text/tab-separated-values) | Tabs between fields, one record per line | Tables containing many commas | Workbook features and literal tabs or line breaks without an agreed escape convention |
CSV (text/csv) | Commas with standardized double-quote escaping | Broad table interchange | Workbook features and explicit cell types |
| XLSX | ZIP-based spreadsheet package | Editable workbooks | Simple, diff-friendly plain text |
JSON (application/json) | Arrays and objects | Nested or typed application data | A universally implied table shape |
CSV is usually the safer choice when fields may contain tabs or line breaks because its common syntax defines how to quote those characters. TSV can be easier to inspect with line-oriented tools when tabs are rare in the data. Neither format includes a schema, so both benefit from separate documentation for column names, types, units, and missing-value markers.
When exporting a workbook, remember that text formats keep only displayed text and values from the active sheet. Microsoft warns that formatting, graphics, objects, and other workbook content are lost when a worksheet is saved as tab-delimited text.7
Security and privacy considerations
TSV is passive text, but a spreadsheet application can interpret some cell values as formulas. If untrusted data begins with formula-triggering characters, opening the export may cause the spreadsheet to evaluate it. OWASP documents this class of issue for delimiter-separated exports. Treat TSV from untrusted sources with the same care, and validate mitigations in the exact spreadsheet applications your users rely on.8
TSV also has no built-in encryption, integrity protection, access control, or sensitivity labels. Review exports for personal data, hidden identifiers, and unexpected columns before sharing them. Use transport and storage protections appropriate to the dataset.
Footnotes
- Internet Assigned Numbers Authority. text/tab-separated-values Media Type Registration. ↩ ↩2 ↩3 ↩4
- Internet Assigned Numbers Authority. Media Types Registry. The registry records Paul Lindner's entry on June 19, 1993. ↩
- Library of Congress. TSV, Tab-Separated Values. The format description identifies the IANA registration as TSV's de facto specification. ↩
- Microsoft Support. Import or Export Text (.txt or .csv) Files. ↩
- Apple Support. Import an Excel or Text File into Numbers on Mac. ↩
- MDN Web Docs. Media Types (MIME Types). ↩
- Microsoft Support. Excel Formatting and Features That Are Not Transferred to Other File Formats. ↩
- OWASP Foundation. CSV Injection. ↩