JSON to TSV Converter

Convert JSON records into tab-separated rows that paste directly into spreadsheet cells.

Loading tool…

About the JSON to TSV

The quickest way to get JSON into a spreadsheet is TSV: copy the output, click a cell in Excel or Google Sheets and paste, and it fills rows and columns with no import dialog. Tab-separated output also works with cut, sort -t$'\t' and database bulk loaders.

Each object becomes a row and the header is the union of all keys. With Flatten nested keys on, {"stats": {"views": 10}} becomes a stats.views column; with it off the nested value is written as JSON text. null and missing keys become empty cells.

Values that contain a tab, a line break or a double quote are wrapped in quotes with inner quotes doubled, which is how spreadsheets encode such cells when they export TSV. The conversion runs locally in your browser.

Example: [{"id": 1, "name": "Ada", "tags": ["math"]}] produces the header id, name, tags.0 and one data row, separated by tabs. If you paste below existing headers, delete the first line of the output first.

How to use it

  1. Paste a JSON array or open a file.
  2. Choose whether to flatten nested keys.
  3. Copy the TSV and paste it into a spreadsheet, or download it.

Frequently asked questions

Why TSV instead of CSV for spreadsheets?
Spreadsheets split pasted text on tabs automatically. Pasted CSV usually lands in one column until you run Text to Columns.
Are numbers preserved?
They are written as text, and the spreadsheet detects them as numbers when you paste.
Can I convert TSV back to JSON?
Use CSV to JSON: its delimiter auto-detection recognises tab-separated input.

Related tools