Advertisement

TSV to JSON

Convert TSV to JSON free, in seconds. Paste your data below, press Convert, then copy the result and feed it to APIs and JavaScript apps. Everything runs in your browser, so nothing is ever uploaded.

TSV input

Paste your TSV below, then press Convert.

The first line is treated as the header row. Tabs separate the fields.

JSON output

Waiting for TSV input.

Private by design: parsing uses the PapaParse library (loaded once from a CDN); the conversion itself happens locally and your data is never uploaded.
Advertisement

How this conversion works

Paste TSV into the input box and press Convert (or just keep typing, conversion happens as you type). The tool parses it with the PapaParse library using a tab delimiter, using the first row as column headers, then pretty-prints it as JSON with 2-space indentation. Parsing uses the PapaParse library (loaded once from a CDN); the conversion itself happens locally and your data is never uploaded.

JSON output notes

The output is pretty-printed with 2-space indentation, ready to paste into an API client, a JavaScript app or a .json file. TOML dates and times come through as ISO strings, since JSON has no native date type, and every other scalar keeps its type: strings stay strings, numbers stay numeric, and booleans stay true or false.

TSV to JSON FAQs

Why convert TSV to JSON?
JSON is what APIs, JavaScript apps and most developer tools consume. Converting TOML config files to JSON lets you feed settings into systems that only accept JSON, or inspect a config with familiar JSON tooling.
How is my TSV parsed?
With the PapaParse library using a tab delimiter: the first line becomes the column headers, quoted fields are respected, and empty lines are skipped.
What happens to TOML dates and times?
They come through as ISO strings, since JSON has no native date type. Every other scalar keeps its type: strings stay strings, numbers stay numeric, booleans stay true or false.
How is the output formatted?
Pretty-printed with 2-space indentation, so it is easy to read, diff and paste into API clients or code editors.
Is my data sent to a server?
No. parsing uses the PapaParse library (loaded once from a CDN); the conversion itself happens locally and your data is never uploaded.
Advertisement