What Is a TSV File? The Tab-Separated Format Explained

TSVCSVData Formats

When you export a table from a spreadsheet, database or analytics tool, you often get a plain-text file with a .tsv extension. This guide explains what a TSV file is, how it is organized, how it compares with CSV, and how to open or convert it without sending your data to a server.

What Is a TSV File, Exactly?

TSV (Tab-Separated Values) is a plain-text format for storing tabular data. Each line is one record, and the individual fields within that line are separated by a tab character (the same character produced by the Tab key, written as \t in code). The IANA-registered media type is text/tab-separated-values.

TSV belongs to the same family of delimited text formats as CSV. It is a way to move rows and columns between programs that do not share a native file format — for example, exporting from a database into a spreadsheet, or handing clean data to an accounting or analysis tool.

How Is a TSV File Structured?

The rules are deliberately simple:

  • One record per line. Each physical row in the file represents one record, with lines separated by a newline (often CRLF on Windows, LF elsewhere).
  • Tab between fields. A single tab character marks the boundary from one column to the next.
  • An optional header row. The first line often holds column names, matching the order of the values below it.
  • Plain text, usually UTF-8. There is no binary content, styling, font or formula metadata — only text, tabs and newlines.

Because a tab almost never appears inside ordinary data, TSV generally does not need the quoting rules that CSV relies on. This is the main reason engineers reach for it when moving data between systems.

What Does a TSV File Look Like?

A small TSV table, with tabs shown here as → for clarity, looks like this:

Date → Payee → Amount → Category
2026-11-04 → Greenfield Property → -1450.00 → Rent
2026-11-09 → City Power → -86.40 → Utilities
2026-11-12 → Payroll → 3200.00 → Income

In the real file each → is a tab character. Notice that the value Greenfield Property contains a space but no extra handling is required, because spaces do not act as delimiters — only tabs do.

TSV vs CSV: What Is the Difference?

TSV and CSV store the same kind of table; the difference is the delimiter and the escaping that follows from it.

  • Delimiter. TSV uses a tab; CSV uses a comma.
  • Quoting. CSV must wrap a field in quotes whenever that field contains a comma, a quote or a newline. TSV rarely needs quotes because tabs are uncommon in real data.
  • Predictability. CSV rules vary slightly between implementations, while the tab delimiter makes TSV parsing more consistent.

The two formats are closely related, which is why the same spreadsheet and data tools handle both. You can read more about the trade-offs in QIF vs CSV, which covers how delimited text fits alongside financial formats.

How Do I Open a TSV File?

You have several straightforward options:

  • Spreadsheet software. Excel, Google Sheets and LibreOffice Calc detect the tab delimiter and place each value in its own column. Use the import wizard if the columns do not split automatically.
  • A text editor. Any editor opens the raw file, which is the quickest way to verify the delimiter and check for encoding problems.
  • Code and data tools. Libraries such as pandas read TSV with a tab separator, and database COPY commands accept tab-delimited input directly.

How Do I Convert TSV to Other Formats?

TSV is a delimited text table, so once its tabs are treated as column separators it behaves exactly like CSV. The simplest route is to convert the tab-delimited data into comma-delimited data, then use the FinFormats CSV converters — all of which run locally in your browser with no upload:

Going the other way, tools such as QFX to CSV, OFX to CSV, QBO to CSV and QIF to CSV produce a delimited table you can open in a spreadsheet and save as TSV.

When Should You Use TSV?

TSV is a strong choice when data moves between technical systems and fields may contain commas — addresses, descriptions and notes are common examples. The tab delimiter avoids the quoting headaches of CSV while keeping the file human-readable and easy to parse. For purely financial transactions, the converted output still maps cleanly onto the date, payee, amount and category columns that accounting software expects, with the whole process running locally and under your control.

Frequently Asked Questions

What is the difference between TSV and CSV?›

TSV separates columns with a tab character, while CSV uses a comma. Because a tab rarely appears inside normal text, TSV usually needs no quoting, whereas CSV has to wrap fields that contain commas in quotes. Both store the same kind of tabular data.

What program opens a TSV file?›

Spreadsheet programs such as Excel, Google Sheets and LibreOffice Calc open TSV files and lay each column out automatically. Any plain-text editor can also open one, and data tools such as pandas and database COPY commands read TSV natively.

Is TSV a plain-text format?›

Yes. A TSV file is plain text, usually encoded in UTF-8, so you can inspect it in any text editor. It contains no binary data and no formatting beyond the tab and newline characters.

What is the MIME type for TSV?›

The registered IANA media type is text/tab-separated-values, with the .tsv filename extension. Some systems still label tab-delimited exports as .txt or .csv even though the separator is a tab.

Can a TSV cell contain a tab or a line break?›

A literal tab marks a column boundary, so a tab inside a value has to be escaped or the data should use another format. Line breaks inside a field are also problematic and are typically escaped or avoided.

Is it safe to convert TSV online?›

It is safe when the conversion runs entirely in your browser and the file is never uploaded. TSV files often hold real financial or customer data, so local processing keeps that information on your own device.

Prefer One-Click Conversions?

Install the free FinFormats Chrome extension. Everything still runs locally on your device — no upload, no sign-up, no watermark.

Get it on the Chrome Web Store

← Back to the blog