Data ToolsA little help for every day

Search by name or task, such as JSON or percentage.

Data Tools

TSV to CSV Converter (and CSV to TSV)

Convert tab-separated data copied from Excel or Google Sheets into CSV with correct quoting, or CSV back to TSV. Choose comma or semicolon and optional quoting.

View all tools
ResultUpdates as you type
name,age,city
Alice,30,"London, UK"
Bob,28,Beijing

TSV → CSV: 3 rows × 3 columns; 1 field containing the delimiter, quotes or line breaks was quoted.

How to use TSV to CSV Converter (and CSV to TSV)

Paste cells copied from Excel or Google Sheets, or a TSV file, and the CSV appears as you type. Paste CSV instead and it is converted to TSV. Choose comma or semicolon for the CSV side, then press Copy result.

  1. Paste TSV or spreadsheet cellsCopy a range in Excel or Google Sheets and paste it into TSV or CSV data. The direction is detected for you.
  2. Choose CSV optionsPick Comma or Semicolon as the CSV delimiter, and tick Trim spaces in cells or Quote every field if needed.
  3. Copy and saveCheck the row and column count in the note, press Copy result and save the text as a .csv file.

How fields are quoted: an example

Each line is split at tabs and joined again with commas. A field is wrapped in double quotes only when it contains the delimiter, a double quote or a line break, and quotes inside it are doubled. In the sample, the cells Alice, 30 and London, UK become Alice,30,"London, UK", while a cell reading say "hi" becomes "say ""hi""". Plain cells are left as they are and blank lines are skipped. Excel puts quotes around cells that contain line breaks when you copy them, and those quotes are read correctly, so a multi-line cell is not split into two rows. Tick Quote every field if the importing system expects every value in quotes.

Why spreadsheet copies are TSV, and when to use semicolons

When you copy a range in Excel, LibreOffice or Google Sheets, the clipboard holds plain text with tabs between columns and line breaks between rows, which is TSV. TSV rarely needs quoting because tabs seldom appear in data, but CSV is the format most import tools ask for. In countries that use a decimal comma, such as Germany, France or Italy, Excel expects semicolons in CSV files, so choose Semicolon to make the file open in columns there. If accented or non-Latin characters look garbled when Excel opens the saved file, save it as UTF-8 with a BOM or import it via Data > From Text/CSV.

Accuracy and data handling

Keep the original data and spot-check fields, types and delimiters before using an important conversion. The calculation runs in your current browser; the tool code does not send the input to a processing API.

FAQ

What is the difference between TSV and CSV?

Both are plain-text tables. TSV separates columns with tabs and CSV with commas, or semicolons in some regions. CSV is more widely accepted by import tools, while TSV seldom needs quotes because tabs rarely appear in data.

Can I convert CSV back to TSV?

Yes. Paste CSV and the direction switches to CSV → TSV automatically. Quoted fields are split correctly, and any cell containing a tab, quote or line break is quoted in the TSV output.

Why does Excel show my CSV in one column?

Excel uses the list separator from your regional settings. In many European locales that is a semicolon, so a comma file lands in one column. Choose Semicolon as the CSV delimiter here, or import the file with Data > From Text/CSV.

More Data Tools

Related tools