What is a TSV file?

TSV is a plain text table like CSV, but the columns are split by a tab character. Because text rarely contains tabs, quotes are needed less often. Spreadsheets and databases open it, and it stores values only: no formulas, colours or several sheets.

Drop your file here

or select file

Images, video, audio, documents, data, archives, fonts and more.

About TSV file:

01TSV at a glance

Full name
Tab-separated values
Type
Plain text table
Extension
.tsv (also .tab)
MIME type
text/tab-separated-values
Separator
A tab character
Stores
Values only: no formulas, formatting or several sheets

02What is a TSV file

A TSV file is a plain text table like CSV, but a tab character splits the columns instead of a comma. Each line is one row.

Because text rarely contains a tab, a TSV file needs quotes less often than a CSV, and the separator does not clash with decimal commas or with commas in names and addresses. That makes it simpler to parse. The price is that a tab is invisible, so a human can easily mix tabs and spaces without noticing.

Like CSV, the encoding and the quote rules are not stored in the file. This tool reads the whole file in your browser and counts rows and columns, finds rows with a different number of columns and checks whether the text is UTF-8.

03Good and bad sides

Good

  • Simple: the separator almost never appears inside the data
  • Pastes into a spreadsheet straight from a text editor or the clipboard
  • Readable by every spreadsheet, database and programming language

Bad

  • No formulas, colours, several sheets or column types
  • Tabs are invisible, so a stray space or tab breaks the columns unnoticed
  • Fewer online shops and tools accept it than CSV

04Best for

  • Data that contains commas

    Names, addresses and prices with decimal commas do not clash with the separator.

  • Pasting into a spreadsheet

    Pastes straight from a text editor or the clipboard.

  • Editing by hand

    Tabs are invisible, so a stray space or tab breaks the columns unnoticed.

  • Importing into online tools

    Fewer online shops and tools accept it than CSV.

05How to open it

Windows and macOS
Excel (File, Open, or Data, From Text/CSV), Numbers, LibreOffice Calc
Browser
Google Sheets (File, Import)
Any system
A text editor shows the raw text

06Convert and compare

Related formats: CSV, XLSX, JSON, XLS

Sources