The quick answer
A JSON array becomes tab-separated text: the header row is the union of keys across all records, each element becomes one row, and missing keys leave empty cells. A 2-element array yields a header plus 2 lines. Nulls become empty cells, and fields containing commas or quotes are quoted RFC 4180-style. Runs entirely in your browser — nothing uploads.
The JSON to TSV: what it is and what it is for
For JSON to TSV users: most people arrive with a task, not a question — an API response or data file that needs to become tab-separated text for the tool, database, or colleague downstream. The JSON to TSV is built for exactly that moment — zero friction, full transparency about the method, and the privacy of local processing.
For JSON to TSV users: JSON formatting, validation and tree inspection; CSV↔JSON in both directions with delimiter control; YAML, XML, TSV, NDJSON and Markdown-table conversions; CSV operations like sorting, filtering and deduplication; code generation from JSON into TypeScript, Java and Go — that is the workbench JSON to TSV belongs to. The processing libraries load on demand, and nothing you paste leaves your browser.
How JSON to TSV handles it: the jobs are specific. A JSON array that must paste cleanly into a spreadsheet or a database loader that expects tabs; analytics payloads headed for a tool whose import dialog says TSV only; test data that needs to live in a tab-separated fixture. Conversion ought to be instant; in practice it eats an afternoon, almost always because the obvious online converter wants your file uploaded first. JSON to TSV removes that step — the data stays in the tab, and the result is already on your clipboard.
What the conversion does to your data
Strip away the name and you have a browser-resident utility for one conversion: JSON array in, tab-separated text out. "Browser-based" is the important part: the computation runs on your machine using JavaScript, which means your data is never uploaded to a server, never stored, and never seen by anyone but you. That is a structural guarantee, not a policy promise — there is simply no network request to intercept. The regulars: backend developers preparing payloads for tab-expecting loaders, and analysts moving JSON exports into tools whose only import format is TSV.
The JSON to TSV belongs to our json, csv & data tools collection, and it pairs naturally with the CSV to JSON Converter and JSON to CSV Converter — tools built to chain together in real workflows rather than live as isolated one-offs.
Using the JSON to TSV, step by step
Deliberately minimal does not mean orderless — follow this sequence through the JSON to TSV for the quickest trustworthy result. Follow these six steps.
Load an example or paste your own data
The Load example button fills the input with a realistic sample; otherwise paste your own. The tool works live: you paste one format and the converted format appears — direction switches with one click.
Choose your options
Mode buttons and controls switch the transformation's behavior — direction, convention or parameters. The output re-renders instantly with each change.
Review the output panel
The result panel updates live and reports what changed — counts, notes and status messages confirm the operation behaved as expected rather than silently doing nothing.
Copy, download or continue
Copy puts the result on your clipboard; Download writes it as a file; and where chaining makes sense, "Use as input" pipes the output straight back for the next transformation.
Verify with the worked example
The methodology section below shows exactly what the tool computes, with a real worked example — the fastest way to confirm your understanding matches the tool's behavior.
Clear when done
Clear wipes the input instantly. Because processing is local, there is no history, no server copy and no residue — privacy by architecture.
How the conversion actually works
Stage one is the parse, and it is exact: your whole input runs through the browser's native JSON engine — the same one behind every API call the browser makes — so the structure either parses or fails with a character position, and nothing converts until it is fixed. A single object is treated as a 1-element array; anything larger keeps its element order.
Stage two is the write. The header row is the union of keys across every record, in first-seen order, so uneven documents still align — a record missing a key gets an empty cell, never a shifted value. Nulls become empty cells. Nested objects and arrays are not flattened into extra columns: each lands as one cell containing its JSON text. Fields containing a comma, a double quote, or a newline are wrapped in double quotes with inner quotes doubled — RFC 4180's rule, applied with the tab as the delimiter. The note bar reports the result's shape: N rows × M columns.
A detail worth knowing: TSV earns its keep by rarely needing quoting at all — data containing commas but no tabs passes through unquoted and clean, which is exactly why database loaders and spreadsheet clipboards prefer it. If your downstream system speaks tabs, this is the shape it wants; the JSON to CSV Converter in the same collection produces the comma-separated twin of this output.
A worked conversion you can check by hand
Paste [{"name":"Alice","age":30},{"name":"Bob"}] and the output is 3 lines: a header of name and age separated by a tab, then Alice followed by a tab and 30, then Bob followed by a tab and nothing — Bob's record has no age, so the cell is empty rather than shifted. The note bar reads 2 rows × 2 columns. Now the nesting case: a record whose value is itself an object, like {"user":{"name":"Ada"}}, lands as one cell containing {"name":"Ada"} as JSON text — visible, quotable, and checkable by eye in under a minute.
Accuracy and edge cases
The JSON to TSV is exact where its inputs are exact. The interesting question is what happens at the edges — which is precisely what this section documents.
Specifically for the JSON to TSV:
- JSON parse error at a position — the formatter shows the exact character position and surrounding context; look for trailing commas, single quotes or unescaped newlines.
- Generated types show "unknown[]" — the source array was empty; add a sample element or type the field manually.
- Numbers lose precision on round-trip — very large integers exceed JavaScript’s safe integer range (2^53); treat such fields as strings.
Estimate or exact is stated at point of use, not in a footnote: the json to tsv outputs that rest on conventions carry their caveats with them.
How this compares with spreadsheets and scripts
| Alternative | Why people pick JSON to TSV instead |
|---|---|
| Server-side converters | Identical output without uploading customer data or credentials to a third party — and no file size quota |
| jq and command-line tools | Zero install and a visual tree for exploration; the command line still wins for scripted pipelines |
| IDE plugins | Works in any browser on any machine — including the locked-down laptop in the meeting room |
Frequently asked questions
Does my input need to be valid JSON?
Yes — the whole input is parsed by the browser's native JSON engine first, and a parse failure returns a warning with the offending position. Nothing converts until the document is valid JSON.
What is the delimiter in the output?
The tab character. If the downstream system wants commas instead, the JSON to CSV Converter in the same collection produces the comma-separated twin of this output with identical rules.
How are uneven records handled?
The header is the union of keys across every record in first-seen order, and a record missing a key gets an empty cell in that column. Values never shift into the wrong column — alignment is guaranteed.
What happens to null values?
They become empty cells — a JSON null renders as nothing between the tabs, not as the text "null". If a downstream system needs an explicit marker, post-edit that cell after conversion.
Are fields ever quoted?
Yes, RFC 4180-style: a field containing a comma, a double quote, or a newline is wrapped in double quotes with inner quotes doubled. Plain values — the common case in TSV — pass through unquoted.
What happens to nested objects or arrays?
Each lands as one cell containing its JSON text, quoted when its content requires it. There is no flattening into extra columns; if you want expanded columns, flatten the structure before converting here.
Does the order of keys matter?
The header keeps first-seen order of keys across your records, and every record's values are written in that same order. Element order in the array is preserved line for line — element 0 becomes row 1.
Where does my data go during conversion?
Nowhere. Parsing and serialization are browser-side JavaScript with zero transmission to any server. The page works offline after loading, and closing the tab erases everything you pasted.
Can I convert TSV back to JSON?
Yes — the sibling TSV to JSON tool in the same collection runs the reverse direction with the same tab convention and the same local processing. Round-tripping a small file through both is a quick sanity check.
Is the JSON to TSV free to use?
Yes, and free means free: JSON to TSV has no signup, no email gate and no usage meter. Since the processing never touches a server, there is no infrastructure cost to recover through fees or gates. No premium tier hides the useful parts.
Sources and further reading
RFC 4180 defines the quoting rules this output follows, and RFC 8259 defines the JSON grammar at the front door; the tab-separated convention itself is documented across database and bioinformatics tooling. The references below are the primary sources.
Sources and further reading
- RFC 8259 — the JSON specification (IETF)(datatracker.ietf.org)
- RFC 4180 — CSV format common definition(datatracker.ietf.org)
- YAML 1.2 specification(yaml.org)
- W3C XML specification(w3.org)
- MDN: Working with JSON(developer.mozilla.org)
We cite primary sources (standards bodies, government agencies, official documentation) wherever they exist so you can verify every number on this page yourself.