Skip to content
migration.tools
TSV to JSON

TSV to JSON converter

Paste cells copied from a spreadsheet and get a JSON array back. Each row becomes an object keyed by the header row.

Going the other way? JSON to TSV

Options

TSV

JSON

The result appears here as soon as there is input.

Processed on this device. Nothing you paste or drop is uploaded.

How to use it

  1. 1Paste your TSV or drop a file onto the input panel.
  2. 2Adjust the options — the result updates as you type.
  3. 3Copy the JSON or download it. Drop several files to convert a batch into one ZIP.

How TSV becomes JSON

Every row in the TSV input becomes one record in the JSON output, and the header row supplies the field names. Column order is preserved.

Cells are typed where the meaning is unambiguous: 42 and 3.14 become numbers, true and false become booleans, and an empty cell becomes null. Anything that only looks numeric — 00501, +44 20 7946 0958, a 19-digit order ID — stays a string, because turning it into a number would corrupt it.

TSV and JSON, briefly

TSV separates columns with tab characters. It is what you get when you copy cells out of a spreadsheet, and it is common in bioinformatics and database bulk loaders because commas in the data never need quoting.

JSON is the default language of web APIs and document databases. It nests objects and arrays to any depth and distinguishes strings, numbers, booleans and null, but has no comments and no date type.

Questions

Can I paste cells straight from Excel or Google Sheets?

Yes. Copying a range of cells puts tab-separated text on the clipboard, which is exactly what this tool reads.

Does the converter guess data types?

Yes, unless you turn it off. Whole numbers, decimals, true and false become real JSON numbers and booleans. Values with leading zeros (like ZIP code 00501), numbers longer than 15 digits and anything that isn't unambiguously numeric stay as strings, so IDs and phone numbers survive intact.