Convert TSV to JSON — Rows to Objects, Array or JSONL

DataFileConverter reads a tab-separated file and writes JSON: the header row becomes the keys, every data row becomes one object, and repeated records become an array. Write one JSON document, a bare array or JSONL, batch a folder or merge several files — offline, Windows, Linux and macOS.

Download DataFileConverter

Full-Featured TSV to JSON Conversion

Header row becomes the keys

Column names are read from the first line and used as object keys, so the JSON is named rather than positional.

Array, document or JSONL

One array of objects, a document with a root key, or one object per line for stream processing.

Batch a folder

One .json per .tsv, named after the source, with recursion into subfolders.

Merge several files

Combine multiple TSV files into one JSON array, rows in file-name order under one key set.

3 Simple Steps to Convert TSV to JSON

  1. Pick the direction
    New task → From Files / TSV → To File / JSON. 📷
  2. Load the TSV
    One file, several, or a folder; the parsed rows are previewed before anything is written. 📷
  3. Choose the shape
    Array or JSONL, header row on or off, and whether numbers stay strings — then convert and check the first object. 📷

What a TSV row becomes in JSON

TSV is positional, JSON is named: the conversion is mostly about the header line and about how a missing value is written.

In the TSVIn the JSON
id customer total (header) + 1001 ACME 129.90{"id":"1001","customer":"ACME","total":"129.90"}
many data rowsan array with one object per row, in file order
a row with fewer tabs (missing trailing fields)the missing keys are empty strings, or omitted — a setting
a value containing a comma or a quotekept verbatim; JSON escapes only what JSON requires
a numeric-looking column"129.90" as a string by default; turn on type inference to get 129.90
an empty field"" or null, depending on the setting — pick one and stay with it
a duplicate header namethe later column overwrites the earlier key; rename before converting

Say Goodbye to TSV to JSON Conversion Headaches

Why Choose Withdata DataFileConverter?

Frequently Asked Questions

Where do the JSON keys come from?
From the header row. If the file has no header, supply the column names in the wizard — otherwise the keys are generated as col1, col2 and so on.
Can I get JSONL or a bare array instead of a document?
Yes — the output shape is a setting: one array of objects, a document with a root key, or JSON Lines with one object per line.
Are numbers converted to JSON numbers?
By default values stay strings, which avoids losing leading zeros and 16-digit ids. Type inference can be turned on for numeric columns when the consumer expects numbers.
Can I convert a whole folder of TSV files?
Yes — batch mode writes one .json per .tsv with the source name kept, optionally recursing into subfolders.
Can I merge several TSV files into one JSON array?
Yes. Choose a single .json target and the rows of every file are appended in file-name order; columns are unified when the headers differ.
What happens to empty cells and missing columns?
They become an empty string or null — one setting, applied consistently. A row with fewer tabs than the header gets the missing keys filled the same way.
Can it run from the command line on a schedule?
Yes. Save the task and call it from a .bat or .sh script; Task Scheduler, cron and launchd can start it unattended, and the CLI prints one line per file.
Is my data uploaded anywhere?
No. The conversion runs locally on your computer; no file is sent to a server.

Download Withdata DataFileConverter Today

One file, a folder in batch, or a merge into one JSON array — free trial, no credit card.

$75 one-time · volume discounts to $55 · 30-day money-back · pricing & licence terms

Download Free Trial