Knowledge (XXG)

Tab-separated values

Source 📝

38: 462:
Records are typically separated by a line feed, as is typical for Unix platforms, or a carriage return and line feed, as is typical for Microsoft platforms. Some programs may expect the latter. The de-facto specification specifies that records are separated by an
245:
Sepal length Sepal width Petal length Petal width Species 5.1 3.5 1.4 0.2 I. setosa 4.9 3.0 1.4 0.2 I. setosa 4.7 3.2 1.3 0.2 I. setosa 4.6 3.1 1.5 0.2 I. setosa 5.0 3.6 1.4 0.2 I. setosa
506: 222:
to move tabular data between different computer programs that support the format. For example, a TSV file might be used to transfer information from a
377:
characters, a convention is necessary for lossless conversion of text values with these characters. A common convention is to perform the following
683: 656: 843: 742: 364: 165: 106: 838: 531: 208: 139: 86: 242:
can be stored as a TSV using the following plain text (note that the HTML rendering may convert tabs to spaces):
196: 147: 809: 746: 96: 73: 480: 212: 160: 734: 699: 717: 239: 485: 192: 764: 45: 454:
and enclose values containing tabs or newlines in double quotes. This can lead to ambiguities.
675:
Microsoft Log Parser Toolkit: A Complete Toolkit for Microsoft's Undocumented Log Analysis Tool
749: 679: 652: 100: 646: 447: 776: 426: 378: 832: 219: 673: 451: 227: 188: 370:
standard for TSV achieves simplicity by simply disallowing tabs within fields.
367: 61: 37: 218:
TSV is a simple file format that is widely supported, so it is often used in
17: 560: 539: 438: 402: 185: 648:
Text Processing with Ruby: Extract Value from the Data That Surrounds You
223: 152: 614: 733:
Lindner, Paul (June 1993). "Definition of tab-separated-values (tsv)".
595: 468: 414: 374: 204: 200: 249:
The TSV plain text above corresponds to the following tabular data:
373:
Since the values in the TSV format cannot contain literal tabs or
793:"Tab Separated Values (TSV): a format for tabular data exchange" 168: 792: 446:
Another common convention is to use the CSV convention from
720:(11 February 2021 ed.). Library of Congress. fdd000533 672:
Giuseppini, Gabriele; Burnett, Mark (10 February 2005).
536:
Apple Developer Documentation: Uniform Type Identifiers
159: 146: 135: 112: 92: 82: 72: 60: 54: 50: 44: 596:"Linear TSV: simple, line-oriented, tabular data" 509:. University of Edinburgh. § Formats we recommend 203:, and values within a record are separated by 155:information organized as field separated lists 8: 561:"How To Use Tab Separated Value (TSV) files" 30: 526: 524: 600:Data Protocols - Open Knowledge Foundation 383: 251: 581: 505:U of Edin. Research Data Support Team. 497: 772: 762: 29: 808:Welinder, Morten (19 December 2012). 7: 467:, but does not specify any specific 791:Jukka, Korpela (1 September 2000). 743:Internet Assigned Numbers Authority 651:. Pragmatic Bookshelf. p. 94. 107:Internet Assigned Numbers Authority 613:Dolan, Stephen (1 November 2018). 74:Uniform Type Identifier (UTI) 25: 700:"IANA: text/tab-separated-values" 645:Miller, Rob (22 September 2015). 78:public.tab-separated-values-text 36: 507:"Choose the best file formats" 1: 810:"§14.2.3 — Text File Formats" 563:. International Monetary Fund 116: 718:"TSV — Tab-Separated Values" 87:public.delimited-values-text 795:(12 February 2005 ed.) 594:Dusek, Jason (6 May 2014). 207:. The TSV format is thus a 122:; 31 years ago 860: 844:Delimiter-separated format 209:delimiter-separated values 140:Delimiter-separated values 737:text/tab-separated-values 678:. Elsevier. p. 311. 67:text/tab-separated-values 35: 839:Spreadsheet file formats 62:Internet media type 747:University of Minnesota 97:University of Minnesota 481:Comma-separated values 213:comma-separated values 120: June 1993 83:UTI conformation 750:Internet Gopher Team 240:Iris flower data set 178:Tab-separated values 31:Tab-separated values 814:The Gnumeric Manual 486:Delimiter collision 385: 211:format, similar to 32: 532:"tabSeparatedText" 384: 359:Character escaping 148:Container for 46:Filename extension 685:978-0-08-048939-1 658:978-1-68050-492-7 602:(v1.0β ed.). 444: 443: 356: 355: 199:are separated by 175: 174: 93:Developed by 16:(Redirected from 851: 825: 823: 821: 816:(v1.12 ed.) 804: 802: 800: 780: 774: 770: 768: 760: 758: 756: 738: 729: 727: 725: 704: 703: 696: 690: 689: 669: 663: 662: 642: 636: 635: 633: 631: 625: 618: 610: 604: 603: 591: 585: 579: 573: 572: 570: 568: 557: 551: 550: 548: 546: 528: 519: 518: 516: 514: 502: 466: 435: 423: 411: 399: 389:escape sequence 386: 252: 238:The head of the 131: 130: 128: 123: 118: 56: 52: 40: 33: 27:Text file format 21: 859: 858: 854: 853: 852: 850: 849: 848: 829: 828: 819: 817: 807: 798: 796: 790: 787: 785:Further reading 771: 761: 754: 752: 736: 732: 723: 721: 716: 713: 708: 707: 698: 697: 693: 686: 671: 670: 666: 659: 644: 643: 639: 629: 627: 623: 616: 612: 611: 607: 593: 592: 588: 580: 576: 566: 564: 559: 558: 554: 544: 542: 530: 529: 522: 512: 510: 504: 503: 499: 494: 477: 464: 460: 433: 427:carriage return 421: 409: 397: 361: 247: 236: 184:) is a simple, 126: 124: 121: 119: 113:Initial release 105: 104: 68: 28: 23: 22: 15: 12: 11: 5: 857: 855: 847: 846: 841: 831: 830: 827: 826: 805: 786: 783: 782: 781: 730: 712: 709: 706: 705: 691: 684: 664: 657: 637: 605: 586: 574: 552: 520: 496: 495: 493: 490: 489: 488: 483: 476: 473: 459: 456: 442: 441: 436: 430: 429: 424: 418: 417: 412: 406: 405: 400: 394: 393: 390: 360: 357: 354: 353: 350: 347: 344: 341: 337: 336: 333: 330: 327: 324: 320: 319: 316: 313: 310: 307: 303: 302: 299: 296: 293: 290: 286: 285: 282: 279: 276: 273: 269: 268: 265: 262: 259: 256: 244: 235: 232: 205:tab characters 173: 172: 163: 157: 156: 150: 144: 143: 137: 136:Type of format 133: 132: 114: 110: 109: 94: 90: 89: 84: 80: 79: 76: 70: 69: 66: 64: 58: 57: 48: 42: 41: 26: 24: 14: 13: 10: 9: 6: 4: 3: 2: 856: 845: 842: 840: 837: 836: 834: 815: 811: 806: 794: 789: 788: 784: 778: 766: 751: 748: 745:. Minnesota: 744: 740: 739: 731: 719: 715: 714: 710: 701: 695: 692: 687: 681: 677: 676: 668: 665: 660: 654: 650: 649: 641: 638: 626: 620: 609: 606: 601: 597: 590: 587: 583: 578: 575: 562: 556: 553: 541: 537: 533: 527: 525: 521: 508: 501: 498: 491: 487: 484: 482: 479: 478: 474: 472: 470: 457: 455: 453: 449: 440: 437: 432: 431: 428: 425: 420: 419: 416: 413: 408: 407: 404: 401: 396: 395: 391: 388: 387: 382: 380: 376: 371: 369: 366: 358: 351: 348: 345: 342: 339: 338: 334: 331: 328: 325: 322: 321: 317: 314: 311: 308: 305: 304: 300: 297: 294: 291: 288: 287: 283: 280: 277: 274: 271: 270: 266: 263: 261:Petal length 260: 257: 255:Sepal length 254: 253: 250: 243: 241: 233: 231: 229: 225: 221: 220:data exchange 216: 214: 210: 206: 202: 198: 194: 190: 187: 183: 179: 170: 167: 164: 162: 158: 154: 151: 149: 145: 141: 138: 134: 115: 111: 108: 102: 98: 95: 91: 88: 85: 81: 77: 75: 71: 65: 63: 59: 49: 47: 43: 39: 34: 19: 18:Tab-delimited 818:. Retrieved 813: 797:. Retrieved 753:. Retrieved 735: 722:. Retrieved 694: 674: 667: 647: 640: 628:. Retrieved 622: 608: 599: 589: 582:Lindner 1993 577: 565:. Retrieved 555: 543:. Retrieved 535: 511:. Retrieved 500: 461: 458:Line endings 445: 372: 362: 264:Petal width 258:Sepal width 248: 237: 217: 193:tabular data 191:for storing 181: 177: 176: 773:|work= 228:spreadsheet 189:file format 833:Categories 567:1 February 492:References 368:media type 352:I. setosa 335:I. setosa 318:I. setosa 301:I. setosa 284:I. setosa 186:text-based 775:ignored ( 765:cite book 540:Apple Inc 439:backslash 403:line feed 99:Internet 475:See also 392:meaning 267:Species 224:database 201:newlines 161:Standard 153:database 711:Sources 619:Manual" 469:newline 379:escapes 375:newline 234:Example 197:Records 127:1993-06 125: ( 820:23 May 799:23 May 755:23 May 724:23 May 682:  655:  630:23 May 545:23 May 513:23 May 450:  142:format 101:Gopher 226:to a 822:2023 801:2023 777:help 757:2023 726:2023 680:ISBN 653:ISBN 632:2023 569:2023 547:2023 515:2023 452:4180 365:IANA 363:The 349:0.2 346:1.4 343:3.6 340:5.0 332:0.2 329:1.5 326:3.1 323:4.6 315:0.2 312:1.3 309:3.2 306:4.7 298:0.2 295:1.4 292:3.0 289:4.9 281:0.2 278:1.4 275:3.5 272:5.1 171:type 169:MIME 166:IANA 103:Team 55:.tab 51:.tsv 465:EOL 448:RFC 415:tab 182:TSV 835:: 812:. 769:: 767:}} 763:{{ 741:. 624:jq 621:. 617:jq 598:. 538:. 534:. 523:^ 471:. 434:\\ 422:\r 410:\t 398:\n 381:: 230:. 215:. 195:. 117:c. 53:, 824:. 803:. 779:) 759:. 728:. 702:. 688:. 661:. 634:. 615:" 584:. 571:. 549:. 517:. 180:( 129:) 20:)

Index

Tab-delimited

Filename extension
Internet media type
Uniform Type Identifier (UTI)
public.delimited-values-text
University of Minnesota
Gopher
Internet Assigned Numbers Authority
Delimiter-separated values
Container for
database
Standard
IANA
MIME
text-based
file format
tabular data
Records
newlines
tab characters
delimiter-separated values
comma-separated values
data exchange
database
spreadsheet
Iris flower data set
IANA
media type
newline

Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.