Report

Help us improve this tool

TSV to JavaScript Object Converter

Parse TSV rows into JavaScript object literals for copy-paste into your codebase.

O M T

Parse TSV rows into JavaScript objects

Spreadsheet exports often arrive as tab-separated text. This tool maps each row to a JavaScript object literal you can paste into Node, React, or test fixtures.

Related: TSV to JSON Converter, Query String to JavaScript Object Converter, and CSV to JavaScript Object Converter.

Frequently Asked Questions

How are column names chosen?

When the first row is treated as headers, each following row becomes an object keyed by those header cells. Duplicate headers are made unique automatically.

Can numeric cells stay numbers?

Turn on type coercion to convert integer, decimal, and boolean-looking strings into native JavaScript values.

Can I wrap the output in a const?

Yes. Enable the const wrapper and set a variable name to emit ready-to-run assignment syntax.