Tab-separated values
Tab-separated values (TSV) is a plain text data format for storing tabular data where the values of a record are separated by a tab character as the delimiter and each record is a line (i.e.[src] newline is the delimiter).[src] The TSV format is a form of delimiter-separated values (DSV) and is similar to the commonly-used comma-separated values (CSV) format.[src] TSV is a relatively simple format and is widely supported for data exchange by software that generally deals with tabular data.[src] For example, a TSV file might be used to transfer information from a database to a spreadsheet.[src]
Tab-separated values (TSV) is a plain text data format for storing tabular data where the values of a record are separated by a tab character as the delimiter and each record is a line (i.e.[src] newline is the delimiter).[src] The TSV format is a form of delimiter-separated values (DSV) and is similar to the commonly-used comma-separated values (CSV) format.[src] TSV is a relatively simple format and is widely supported for data exchange by software that generally deals with tabular data.[src] For example, a TSV file might be used to transfer information from a database to a spreadsheet.[src] ==Delimiter collision== As a form of delimiter collision, if a field (record value) contained a tab character, the data format would become meaningless since tabs were no longer only used between fields.[src] To prevent this situation, the IANA media type standard for TSV simply disallows a tab within a field.[src] Similarly, a value cannot contain a line terminator.[src] To represent a value with an embedded tab or line terminator character, a commonly-used mechanism is to replace the character with the corresponding escape sequence as shown in the following table.[src] Another commonly-used convention, borrowed from CSV ( ), is to enclose a value that contains a tab or line terminator character in quotes.[src] Among others it's used by LibreOffice Calc where the backslash (\) notation is not implemented and TSV is simply treated as a variant of CSV with tab delimiters instead of comma.[src] ==Line terminator== As for any text file, the character(s) used for line terminator varies.[src] On a Microsoft-based system, normally it's a carriage return (CR) and line feed (LF) sequence.[src] On a Unix-based system, it's just LF.[src] The de-facto specification uses the term "EOL" which is an ambiguous term like line terminator and newline.[src] Software often is designed to either handle the line terminator for the platform on which it runs or to handle either terminator.[src]
21 sentences · 21 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Tab-separated values." encyclopegia.org, 2026, https://encyclopegia.org/wiki/tab-separated-values. Accessed 26 November 2026.
Chicago
"Tab-separated values." encyclopegia.org. Accessed November 26, 2026. https://encyclopegia.org/wiki/tab-separated-values.
APA
encyclopegia.org. (2026). Tab-separated values. Retrieved November 26, 2026, from https://encyclopegia.org/wiki/tab-separated-values
Accessed November 26, 2026 · CC BY-SA 4.0 · citation page · JSON