JSON TSV Converter

Convert JSON arrays to tab-separated values and TSV back to JSON

  • 100% Free
  • Files stay private
  • Works in your browser
Try it now·JSON TSV Converter
InputJSON
OutputTSV

The TSV header is the union of every object's keys. Tabs and newlines inside values are escaped so the grid stays intact.

How it works

  1. Pick a direction

    Use the tabs above the boxes to switch between JSON → TSV and TSV → JSON. JSON → TSV is selected by default.

  2. Paste JSON or TSV

    Paste your data into the Input box and the Output box fills in as you type. Press Detect if you are unsure of the direction.

  3. Copy or download

    Press Copy result to copy the output, or Download .tsv to save it as a file. In TSV → JSON mode the button reads Download .json.

Convert JSON arrays to tab-separated values and TSV back to JSON in one place. Paste, pick a direction, and copy clean results instantly. Everything runs in your browser, so your data never leaves your device.

What is JSON TSV Converter?

JSON TSV Converter is a free, two-way tool that turns a JSON array of objects into a tidy TSV grid and turns tab-separated rows back into structured JSON. TSV is the format spreadsheets and databases love, while JSON is what APIs and code expect, so moving between them cleanly matters. This converter bridges the two without a round trip through a server.

Who Benefits from This Tool

  • Data analysts: drop API output straight into Excel, Google Sheets, or Numbers as tab-separated columns.
  • Developers: generate JSON fixtures from a spreadsheet export without hand-editing brackets.
  • QA and support teams: convert exported records into readable rows to scan for anomalies.
  • Marketers and ops: reshape product or contact lists between tools that speak different formats.
  • Students and educators: see exactly how nested JSON maps onto a flat table.

Key Features

  • Two-way conversion: switch between JSON to TSV and TSV to JSON with a single tab.
  • Auto-detect: the Detect button reads your input and picks the right direction for you.
  • Swap: feed the current output back through the inverse conversion to verify a round trip.
  • Smart headers: the TSV header is the union of every object's keys, preserving first-seen order.
  • Safe cell encoding: tabs and newlines inside values are escaped so the grid never breaks.
  • Header and pretty-print toggles: treat the first TSV row as keys and indent the JSON output.
  • Copy and download: grab the result to your clipboard or save it as a .tsv or .json file.

How to Use

  1. Choose a direction with the JSON to TSV / TSV to JSON tabs, or paste and click Detect.
  2. Paste your JSON array of objects or your tab-separated data into the input panel.
  3. For TSV to JSON, set whether the first row is a header and whether to pretty-print.
  4. Read the converted output on the right. It updates live as you type.
  5. Copy the result or download it as a .tsv or .json file.

Common Use Cases

  • Pasting a REST API response into a spreadsheet for quick pivoting or charts.
  • Turning a spreadsheet export into JSON to seed a test database.
  • Flattening an array of objects into columns for a colleague who prefers tables.
  • Verifying a data pipeline by round-tripping a sample through Swap.
  • Cleaning up exported records so tabs and line breaks survive the move.

Tips and Best Practices

  • Use Detect when you are unsure of the format. It inspects the first character and structure.
  • Keep the header toggle on when your TSV has column names so you get an array of objects.
  • For arrays of arrays, turn the header toggle off to keep rows as arrays.
  • Load the built-in sample to see the expected shape before pasting your own data.
  • Remember that nested arrays and objects become JSON strings inside a single TSV cell.
  • Trim very large inputs; the tool caps input size to keep the tab responsive.

Limitations and Notes

This converter runs entirely in your browser and never uploads your data. TSV is a flat, line- and tab-delimited format, so deeply nested JSON is not expanded into more columns. Nested values are stored as JSON text inside one cell and decoded back on the way out. Because tabs, newlines, and backslashes are escaped for safe round-tripping, ordinary text is preserved, but the encoded output may differ slightly from a hand-written file. Inputs above roughly two megabytes are rejected so a single keystroke can never freeze the page.

FAQs

No. All parsing and conversion happen locally in your browser, and nothing is sent to a server.

An array of objects, an array of arrays, an array of scalars, or a single object treated as one row all work.

They are serialized to JSON text and placed inside a single TSV cell, then decoded back when you convert to JSON.

By default the tool assumes column names in row one so it can build keyed objects; turn the toggle off for arrays.

Yes. Use the mode tabs to switch, or click Swap to send the current output back through the inverse conversion.

Inputs above about two megabytes are blocked to keep the browser responsive; split the data into smaller batches.

More Development Tools

Other tools in Development Tools.

All Development Tools