JSON to TSV Converter

Convert JSON to TSV (tab-separated values) that you can paste straight into Excel or Google Sheets, or load into a database. Nested objects become their own columns, and tabs or line breaks inside values never break a row. Runs in your browser, nothing is uploaded.

JSON Input

Ln 1, Col 1Empty

TSV

Your result will appear here.
No result yet

What Is TSV?

TSV (tab-separated values) is a plain text table: one row per line, with a tab character between the values. It is like CSV, but because tabs almost never appear in real data, values with commas, such as USB-C Cable, 2 m or an address, need no quotes. That makes TSV the format spreadsheets use on the clipboard, and a common choice for database imports, bioinformatics and data science tools.

How to Convert JSON to TSV

  1. Paste a JSON array of objects, drop a .json file on the box, or load it from a link with URL.
  2. Choose how nested objects and special characters are handled.
  3. Click Convert to TSV, or press Ctrl + Enter.
  4. Click Copy and paste into Excel or Google Sheets, or download a .tsv file.

Example

JSON
[
  { "id": 101, "product": "Desk Lamp", "stock": { "warehouse": "London", "units": 140 } },
  { "id": 103, "product": "USB-C Cable, 2 m", "stock": { "warehouse": "London", "units": 860 } }
]
TSV (tabs shown as →)
id→product→stock.warehouse→stock.units
101→Desk Lamp→London→140
103→USB-C Cable, 2 m→London→860

Every key becomes a column, nested keys are joined with a dot, and the comma in USB-C Cable, 2 m needs no quotes. In the real output each → is a tab.

How JSON Becomes TSV

JSONTSV
Array of objectsOne row per object, one column per key (keys from all objects are combined)
Nested objectColumns like stock.units, or one column with the object as JSON
Array, e.g. ["home", "light"]JSON text in one cell: ["home","light"]
null or a missing keyAn empty cell
Tab or line break inside a value\t and \n (and \ becomes \\), or a space
Array of simple values, e.g. [1, 2, 3]A single value column

TSV vs CSV: Which One Should You Use?

  • Pasting into a spreadsheet: TSV. Excel and Google Sheets split pasted text on tabs, so every value lands in its own cell without an import wizard.
  • Data full of commas (addresses, sentences, prices like 1,299): TSV stays readable, with no quotes around every value.
  • Sharing a file with people who double-click to open it: CSV is more familiar. Use JSON to CSV, or make a real spreadsheet with JSON to Excel.
  • Loading into PostgreSQL or MySQL: TSV with escaped \t and \n matches the default text format of COPY and LOAD DATA.

Tips

  • Why escape instead of quotes? The TSV standard (IANA text/tab-separated-values) does not allow tabs or line breaks inside a field, and has no quoting. Escaping keeps one record on one line.
  • Values in a different order? Columns follow the order in which keys first appear. Use the JSON Sorter first if you want them A to Z.
  • Very nested data? Flatten it first with JSON Flatten to see every column name.
  • Broken JSON? Trailing commas and single quotes are repaired automatically. For anything else, use JSON Repair.

Frequently Asked Questions

How do I convert JSON to TSV?

Paste a JSON array of objects and click Convert to TSV. Each object becomes a row and each key a column, with a tab between values. Copy the result or download a .tsv file.

How do I paste JSON data into Excel or Google Sheets?

Convert it to TSV here, click Copy, then click a cell in your sheet and press Ctrl + V. Spreadsheets split pasted text on tabs, so every value lands in its own cell.

What happens to tabs and line breaks inside values?

TSV fields cannot contain them, so they are written as \t and \n by default, the format PostgreSQL and MySQL read. You can also replace them with a space.

Is my JSON uploaded?

No. The conversion runs in your browser and your data never leaves your device.

Related Tools