JSON to TSV
Convert a JSON array to tab-separated values. Paste the result directly into Excel or Google Sheets.
What is JSON to TSV conversion?
TSV (Tab-Separated Values) is a text table whose delimiter is the tab character. Converting JSON to TSV projects each object onto that row shape. Unlike CSV, TSV as implemented here does not wrap fields in quotes; the safety rule is “tabs in values become spaces.”
JSON to TSV writes a header line and one row per object, using a tab between columns instead of a comma. That output pastes into Excel, Google Sheets, Numbers, and LibreOffice without a text-to-columns wizard, because those apps treat a tab on the clipboard as “next cell.” Headers are the union of keys in first-seen order, the same rule as JSON to CSV. Nested objects and arrays are JSON.stringify’d into the cell as compact JSON. A tab inside a value would break the row, so every tab in a field is replaced with a single space before joining. Null and missing keys become empty cells. A non-array root value is wrapped as one row. Copy the TSV or download output.tsv. Nothing is uploaded. If you need RFC 4180 quoting and comma delimiters, use JSON to CSV. To parse TSV back, use TSV to JSON.
When to use this tool
- Paste into a sheet — Copy the right pane and paste into A1. Columns land in adjacent cells without import settings.
- Data that already contains commas — City names like "Portland, OR" stay one cell because the delimiter is a tab, not a comma.
- Nested metadata — A meta object becomes a JSON string in one cell, for example {"ok":true}, which you can parse later.
- Validate the source JSON first — Invalid JSON shows an error in the input header and leaves TSV empty. Fix it in JSON Formatter if needed. JSON Formatter
How to use the JSON to TSV Converter
Paste JSON
Use an array of objects or a single object. Sample loads three scored rows (id, name, city, score).
Check the TSV
The first line is headers joined by tabs. Each following line is one record. Nested values appear as compact JSON; tabs in strings have already been turned into spaces.
Copy into a spreadsheet
Copy selects the TSV text. Click a cell in Excel or Sheets and paste. Download saves a .tsv file if you would rather File → Open.
Reset
Sample restores the demo. Clear empties both panes.
Worked examples
Flat records for a sheet
[
{ "id": 1, "name": "Alice", "city": "New York", "score": 98 },
{ "id": 2, "name": "Bob", "city": "London", "score": 87 }
]id name city score 1 Alice New York 98 2 Bob London 87
The gaps between columns are tab characters, not spaces.
Tab inside a value is replaced with a space
[
{ "label": "a\tb", "n": 1 }
]label n a b 1
The two-character sequence a, tab, b becomes a, space, b so the row still has two columns.
Nested object in one cell
[
{ "id": 1, "meta": { "ok": true } }
]id meta
1 {"ok":true}Tips
- If you must keep literal tabs in a field, use JSON to CSV — CSV quoting can hold a tab inside a quoted field.
- Boolean true and numbers are stringified without extra quotes (true, 98).
- Empty arrays produce empty output.
- TSV to JSON will read this output back, with every cell as a string, including "98" instead of 98.
Frequently Asked Questions
Why would I choose TSV instead of CSV?
Tabs almost never appear in ordinary cell text, so you can paste into a spreadsheet without RFC 4180 quoting. CSV is better when a downstream tool expects commas or when you must keep literal tabs in a field.
What happens to tabs that already exist in a JSON string?
They are replaced with a space. That is the only sanitizing step. Quotes and commas are left unchanged.
How do nested objects appear?
JSON.stringify of the nested value is written into the cell, for example {"ok":true}. There is no dotted flatten such as meta.ok.
Can I convert a single JSON object?
Yes. A non-array root is wrapped as one row, the same as JSON to CSV.
Does this upload my JSON?
No. Parsing and joining run in the browser. Internal tables stay on the device.