Skip to content
TSV

Document format

TSV

TSV stores tabular text with tab characters separating fields. It solves much the same exchange problem as CSV while using a delimiter that is less common in ordinary prose.

Learn more

What is the format?

TSV stores tabular text with tab characters separating fields. It solves much the same exchange problem as CSV while using a delimiter that is less common in ordinary prose. It has no native workbook, cell styles or formula engine. The tab-separated-values media type identifies a text convention, not a full spreadsheet application format.

Technical profile

Extensions
.tsv
Storage
Text file
Document model
Tab-delimited fields; dialect matters
MIME
text/tab-separated-values
Universal Text Conversion Engine (UTCE)
Source and target
Scope
Format properties ≠ converter coverage

The cards describe the file format. Conversion boundaries are explained below.

History and evolution

Tab-separated text belongs to the long history of delimited data exchange. IANA registers text/tab-separated-values; no single author or invention date defines all TSV dialects. Spreadsheet clipboard exchange and scientific tools helped make tab-delimited data common. Quoting and embedded-newline behavior are not universally identical across exporters.

  1. 2003

    UTF-8 interchange context

    RFC 3629 standardizes UTF-8, an encoding that can be agreed for tab-delimited exchange; it does not define TSV syntax or its invention.

Related formats

Compare document models and their uses.

Technical architecture

Rows consist of fields separated by a tab, with a newline convention ending records. A header may name columns. Encoding, empty values and escape rules need agreement; a literal tab or newline inside a value requires a defined dialect. File-level text does not declare numeric types, date formats or measurement units.

Real-world applications

Measurements, bioinformatics tables, database exports and spreadsheet copy/paste use TSV. It is convenient when commas occur naturally in values. Document the columns and encoding with the dataset. Import identifiers as text when leading zeroes or exact digit strings matter.

Advantages and limitations

Simple processing and a readable grid are useful strengths. Dialect differences and implicit typing can still corrupt interpretation. TSV does not eliminate spreadsheet formula injection: a receiving application may interpret a value as a formula. It also cannot retain multiple worksheets or rich cell styling natively.

Compatibility and software

Spreadsheet import dialogs, databases and programming libraries usually support tab-delimited data, but their defaults differ. Test fields with tabs, quotes and line breaks before large exchange. A text editor can help inspect separators; correct display does not confirm that types and null semantics were interpreted correctly.

Conversion considerations

UTCE shares a bounded text-valued reader/writer with CSV and uses a tab delimiter by default. Headers, encodings and newlines are configurable. It does not reconstruct formulas or scalar types from text. TSV to TSV is an evidenced normalization operation. Richer structured sources can lose null distinctions and flatten nested values on export.

Frequently asked questions

Is TSV always safer than CSV?

No. Changing the delimiter does not control how a spreadsheet interprets cell values or formulas.

Can a field contain a tab?

Only with agreed quoting or escaping rules. Different TSV consumers may handle such values differently.

Sources and specifications