JSON to TSV — API Data Ready to Paste into Google Sheets and Excel
Convert JSON object lists into TSV rows ready to paste into Google Sheets.
- The columns are all keys in the order they appear; nested objects become a.b columns, arrays are written as JSON text and null becomes an empty cell. Fields holding the delimiter, a quote or a line break are quoted, as Python's csv.writer does.
When to use the JSON Array to Tab-Separated Values (TSV) Converter
Paste straight into a spreadsheet
Tab-separated text copied from here splits into columns as soon as it is pasted into Google Sheets, Excel or LibreOffice, with no import wizard.
Columns from every key
Every key that appears in any object becomes a column, nested objects become a.b columns and arrays are written as JSON text so no data is lost. Flattening can be turned off to keep objects whole as JSON text.
Tabs and line breaks in text
Text holding a tab, line break or quote is quoted like Python's excel-tab dialect, so the spreadsheet keeps it in one cell.
Tested with Python
The result is read back by Python's csv module and must equal the flattened JSON data, for hundreds of test documents with accented text, emoji and 64-bit integers.
Frequently asked questions
Can it use another delimiter?
Yes. Pick a comma, semicolon or pipe to produce CSV.
Why are there quotes in the TSV?
Quotes appear only around text holding a tab, line break or quote, so the spreadsheet still reads it as one cell.
What about null values?
Null is written as an empty cell, and booleans as true or false.
Is the title line required?
No. Turn the title option off when you only need the data lines.
Is my data uploaded?
No. The conversion runs in your browser.
Similar tools
- Tab-Separated Values (TSV) to JSON ConverterConvert tab-delimited spreadsheet pastes directly into clean JSON arrays.
- JSON Formatter & Syntax PrettifierFormat messy single-line JSON with 2/4-space indentation and sorted keys.
- JSON Minifier & Whitespace CompressorStrip whitespace and newlines from JSON payloads and compare byte savings.
- RFC 8259 JSON Syntax Validator & DebuggerPinpoint trailing commas, unquoted keys & syntax errors with line/column clues.