TSV to CSV – Convert Tab-Separated Data to CSV

Paste tab-separated text — a range copied from Excel or Google Sheets arrives exactly that way — or open a .tsv / .txt file, press Convert, and the comma-separated CSV appears: every field that needs quotes gets them, ready to copy or download as a .csv file. One-time conversion, no install, nothing uploaded.

Files up to 10 MB are read locally as UTF-8 text. The input must be tab-separated — a range copied from Excel or Google Sheets arrives exactly that way. Fields containing commas, quotes, tabs or line breaks come out quoted. Nothing is uploaded.

What this TSV to CSV converter does

Data copied from a spreadsheet does not arrive as CSV: the clipboard puts a tab between cells and a line break between rows, which is why pasting it into a tool that expects comma-separated CSV misbehaves — whole rows collapse into one column, or every line comes back as a single value. Meanwhile many imports — databases, CRM uploads, scripts, mail-merge tools — ask for comma-separated CSV. Swapping tabs for commas by hand works until one field contains a comma or a quote of its own, and then the row silently breaks. This converter does the whole job mechanically: it parses the tab-separated data with full quoting rules and re-serialises it as CSV with the standard RFC 4180 quoting, so fields containing commas, quotes, tabs or line breaks come out correctly wrapped.

How to use it

  1. Paste or open your TSV

    Paste tab-separated text — a range copied from Excel or Google Sheets arrives exactly that way — or open a local .tsv / .txt file.
  2. Convert to CSV

    Press Convert to CSV. The comma-separated output appears in the read-only box, one row per line.
  3. Check the CSV text

    Glance over the output — fields containing commas, quotes, tabs or line breaks are wrapped in double quotes with doubled quotes inside.
  4. Copy or download

    Copy the CSV to your clipboard or download it as a .csv file, then paste it into the tool that wanted comma-separated CSV.

Input and output

Input: pasted tab-separated text up to 500,000 characters, or a .tsv / .txt file up to 10 MB read locally as UTF-8. Fields wrapped in quotes are respected — tabs, line breaks and doubled quotes inside quoted fields are data, not structure. Output: comma-separated CSV source text. Fields containing a comma, a double quote, a line break or a literal tab are wrapped in double quotes, and double quotes inside a field are doubled; rows with fewer columns than the widest row are padded with empty fields, and fully blank rows are skipped. Every row — header included — is converted exactly as it is.

Limitations

Turn this data into a Markdown table

If the destination is a Markdown document, the Markdown Table Generator turns the same tab-separated or CSV data into an editable Markdown table, and the Excel / CSV to Markdown converter handles a one-time conversion with no editing step.

Frequently asked questions

What does this TSV to CSV converter do?

It converts tab-separated text into comma-separated CSV in one step: paste the data or open a .tsv / .txt file, press Convert to CSV, and get properly quoted CSV source text to copy or download as a .csv file. One-time conversion — nothing to edit here, nothing uploaded.

Why does my data arrive tab-separated?

When you copy a range from Excel or Google Sheets, the clipboard puts a tab character between cells and a line break between rows. Plenty of tools, database imports and scripts instead expect comma-separated CSV — that gap is exactly what this converter closes.

When does a field get wrapped in quotes?

Any field that contains a comma, a double quote or a line break is wrapped in double quotes, and double quotes inside the field are doubled — the standard RFC 4180 CSV rules. Fields containing a literal tab are quoted too, so nothing in the output can be misread as tab-separated data again.

Can I open a file instead of pasting?

Yes — a .tsv or .txt file up to 10 MB, read locally as UTF-8. The file content lands in the input box so you can see what will be converted before pressing the button.

What if my text is already comma-separated CSV?

Then you already have CSV — this converter expects tab-separated input. A line with no tabs in it is treated as one single field and comes back quoted, so paste CSV here only if you want it re-quoted.

Is the header row kept?

Every row is converted exactly as it is, the first row included. Nothing is renamed, added or dropped — only the separator changes and fields get quoted where the CSV rules require it.

How much data can it convert?

Pasted text up to 500,000 characters, or a file up to 10 MB. Both limits are enforced with a clear message before conversion starts; split larger data into parts.

Is my data uploaded anywhere?

No. Reading files, parsing and CSV generation all run locally in your browser. Nothing is sent to a server, and closing the tab erases the data.

Related tools