Skip to main content

TSV to JSON Converter

Convert tab-separated values (TSV) to JSON instantly. Paste data directly from Excel or Google Sheets, auto-detect column headers, preview as a table, and download or copy the JSON output. Supports number coercion, empty row skipping, and configurable indentation. Runs entirely in your browser.

✓ Paste from Excel & Google Sheets ✓ Table preview + JSON output ✓ Runs 100% in your browser

Frequently Asked Questions

What is TSV format?▼

TSV (Tab-Separated Values) is a plain-text format where each record is on its own line and fields are separated by tab characters. It's widely used to export data from spreadsheets (Excel, Google Sheets), databases, and command-line tools. Unlike CSV, TSV doesn't need quoting for commas in values, making it simpler to parse.

How do I copy TSV data from Excel or Google Sheets?▼

Select the cells you want to convert in Excel or Google Sheets, then copy (Ctrl+C / Cmd+C). When you paste into a text area, the data will automatically be in TSV format with tabs between columns. Paste it directly into the input area of this tool and click Convert.

What does the 'Number Coerce' option do?▼

When enabled, the tool automatically converts numeric strings to JSON numbers. For example, '42' becomes 42 (not '42') and 'true'/'false' become boolean values. This produces cleaner JSON for data that will be consumed by APIs or analytics tools. Disable it to keep all values as strings.

How does the tool handle rows with different column counts?▼

When a row has a different number of columns than the header row, the tool logs a warning but still processes the row. Missing values are filled with empty strings, and extra values are ignored. Warnings are displayed above the output so you can identify and fix data quality issues.

Can I download the JSON output?▼

Yes. Click the 'Download' button to save the JSON output as a .json file. You can also copy to clipboard with the 'Copy JSON' button. Use the indent dropdown to choose between minified (compact) and pretty-printed (2 or 4 spaces) output.

What if my TSV has no header row?▼

Uncheck the 'Has Headers' option. The tool will generate column names automatically (column_1, column_2, etc.) and treat all rows as data. You can rename these keys afterwards in the JSON editor of your choice.

Share this tool: X / Twitter LinkedIn
✓ 60,000+ developers use DevPlaybook ★★★★★ 4.8 / 5 on Gumroad ✓ MIT licensed · Instant download ✓ No login required

Related Products

on Gumroad

You Might Also Need

More Free Tools

JSON Diff Viewer Fake Data Generator JSON Diff JSON Formatter Pro JSON Path Finder YAML to JSON Converter CSV Editor CSV to JSON Converter JSON to CSV Converter JSON ↔ YAML Converter JSON Schema Form Builder Protobuf to JSON Converter CSV JSON Transformer JSON Schema to Zod Converter Mock Data Generator NFT Metadata Generator CSV Viewer JSON Formatter & Validator JSON Schema Generator TOML to JSON Converter JSON to TypeScript Interface package.json Validator & Audit TOML to JSON Converter SQL ERD Diagram Generator Grafana Dashboard JSON Validator package.json Generator OpenAPI Mock Generator EVM Calldata Decoder Neon DB Query Builder Turso Edge DB Explorer Developer Utilities SQL Index Advisor Prisma Schema Visualizer Database Schema Visualizer LLM JSON Schema Builder Grafana Dashboard JSON Builder OpenAI Function Calling Generator Database Schema Diff PlanetScale Branch Manager API Response Formatter & Analyzer Base64 Encoder & Decoder Base64 Encode / Decode Image to Base64 Converter JWT Builder JWT Decoder SVG Editor & Optimizer TOML Validator UUID v7 Generator YAML Validator & Formatter PWA Manifest Generator JSON-LD Schema Generator Biome Config Generator Package Lock Analyzer Feature Flag Config Generator GCP Service Account Key Checker Azure ARM Template Validator SBOM Generator JWT Debugger Pro TypeScript tsconfig.json Generator Chrome Extension Manifest Generator Database Index Analyzer YAML Validator Pro API Mock Server Config Generator npm Package Stats SQL to TypeScript Types Database Index Advisor AI Agent Memory Planner RAG Chunking Calculator MCP Endpoint Tester IPFS CID Version Converter MCP Server Config Builder LangGraph Workflow Visualizer AWS IAM Policy Generator GCP Service Account Key Auditor RAG Chunking Calculator Expo App Config Generator TypeScript Discriminated Union Builder Embedding Storage Calculator RAG Chunk Size Optimizer LLM Prompt Template Builder PostgreSQL Connection String Builder

Enjoying this tool? Get more like it.

Weekly developer tool guides, productivity playbooks & AI tricks. Free. No spam.

DevPlaybook Pro 7 days free

Unlock AI-Powered Dev Tools

  • ⚡ AI Code Review, Doc Generator & SQL Builder
  • ⚡ All premium templates & early access
  • ⚡ Member discounts on Gumroad products
Start Free Trial →

$9/mo after trial · Cancel anytime

Want the full toolkit?

Get DevPlaybook Pro

Every template, guide, boilerplate, and automation script in one bundle. 13 premium products — grab them all at once and save big.

$79
$241 separately Save $162 (67% off)
Get DevPlaybook Pro — $79 →

MIT licensed · Instant download · No subscription

See what's included → Browse all deals →