Tab-Separated Values MIME Type

Learn how 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 typetext/tab-separated-values
Extensions
.tsv
First standardized1993
Created byPaul Lindner
Browser supportChrome, Edge, Firefox, Opera, Safari
Example applicationsMicrosoft Excel, Apple Numbers
Poly supportYes. Poly accepts files identified as `text/tab-separated-values` and makes their readable text available without changing the original data.
Indexed by PolyYes. Poly indexes readable TSV text and filenames for full-text and semantic search.
Preview in PolyPartial. Poly offers a spreadsheet-oriented preview for this media type, but availability can depend on the connected preview service.
Poly agentPartial. 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

TSV is a data-exchange format, not a spreadsheet workbook. It does not preserve formulas as calculations, formatting, charts, multiple sheets, or cell data types. Values that look like numbers or dates remain text until an importing application interprets them.

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

Validate the number of fields in every row before importing a TSV file. A stray tab can shift the remaining values into the wrong columns, while a stray line break can create an extra record.

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

FormatDelimiter and structureBest fitWhat it does not preserve
TSV (text/tab-separated-values)Tabs between fields, one record per lineTables containing many commasWorkbook features and literal tabs or line breaks without an agreed escape convention
CSV (text/csv)Commas with standardized double-quote escapingBroad table interchangeWorkbook features and explicit cell types
XLSXZIP-based spreadsheet packageEditable workbooksSimple, diff-friendly plain text
JSON (application/json)Arrays and objectsNested or typed application dataA 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

  1. Internet Assigned Numbers Authority. text/tab-separated-values Media Type Registration. 2 3 4
  2. Internet Assigned Numbers Authority. Media Types Registry. The registry records Paul Lindner's entry on June 19, 1993.
  3. Library of Congress. TSV, Tab-Separated Values. The format description identifies the IANA registration as TSV's de facto specification.
  4. Microsoft Support. Import or Export Text (.txt or .csv) Files.
  5. Apple Support. Import an Excel or Text File into Numbers on Mac.
  6. MDN Web Docs. Media Types (MIME Types).
  7. Microsoft Support. Excel Formatting and Features That Are Not Transferred to Other File Formats.
  8. OWASP Foundation. CSV Injection.
© Poly Corp. 2026