Guides Knowledge Base

JSON to TSV Converter

Convert JSON to TSV online. Tab-separated output pastes straight into Excel and Sheets without an import wizard, and never collides with commas in your data.

TSV is CSV with a tab as the delimiter. Paste a JSON array of objects, choose the tab delimiter, and each object becomes a row with tab-separated fields — the format spreadsheets accept from a plain clipboard paste.

Why Choose Tabs Over Commas

Commas appear constantly inside real data — addresses, prices, prose. Every one of them has to be escaped by quoting the field, and every quoting bug turns into a shifted column. Tabs almost never appear inside a value, so TSV files tend to survive round-trips that break CSV. Spreadsheets also accept tab-separated text directly from the clipboard: paste and the columns split themselves, with no import wizard.

How to Export TSV

  1. Paste a JSON array of objects into the input pane.
  2. Set the delimiter dropdown to tab.
  3. Copy the output for a clipboard paste, or download it as a file.

Nested Objects Become Dot-Notation Columns

Nesting is flattened the same way as for CSV: {"user":{"city":"Oslo"}} yields a column named user.city. Every unique key across all objects becomes a column, and rows missing a key get an empty cell.

On the Command Line

# jq: header row, then tab-separated values
jq -r '(.[0] | keys_unsorted), (.[] | [.[]]) | @tsv' data.json

Who this guide is for

  • Paste JSON data straight into a spreadsheet without an import dialog
  • Export records whose text fields contain commas, without quoting battles
  • Feed a tab-delimited loader such as a bulk database import
  • Copy a query result into a ticket or document as an aligned table

Try the free JSON to CSV

Runs entirely in your browser — no upload, no signup, and your data never leaves your device.

Open JSON to CSV

Frequently Asked Questions

What is the difference between TSV and CSV?

Only the delimiter: TSV separates fields with a tab character, CSV with a comma. Both are plain text and both open in every spreadsheet application.

Which file extension should I use?

Use .tsv, or .txt when a tool insists on it. Excel opens .tsv without an import wizard; naming a tab-delimited file .csv is what triggers one.

What happens if a value itself contains a tab?

The field is quoted, exactly as a comma-containing field would be in CSV. It is rare enough in practice that TSV stays readable where CSV would not.

Tools mentioned in this guide

Related JSON Topics & Reference Articles