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.
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.
Related Products
on GumroadDeveloper Productivity Bundle
Stop rebuilding the same setup every project. 51 VSCode snippets, 40 Git aliases, 5 Docker Compose stacks, 5 GitHub Actions workflows, 5 README templates, and a dotfiles kit. Set up a professional dev environment in under an hour.
Buy on Gumroad →AI Prompt Engineering Toolkit
58 structured prompt templates for Claude, ChatGPT, and Gemini — organized by use case. Code Review, Debugging, Documentation, Architecture, and 10 model-specific tips. Stop writing prompts from scratch.
Buy on Gumroad →Developer Cheat Sheet Bundle
10 print-ready cheat sheets for the tools developers use every day: Git, Docker, Linux CLI, SQL, Regex, HTTP Status codes, VS Code shortcuts, Bash scripting, jq/JSON, and Markdown.
Buy on Gumroad →You Might Also Need
JSON Diff Viewer
Free JSON diff viewer. Compare two JSON objects side-by-side with color-coded highlights: added lines in green, removed in red. Auto-formats JSON before comparing. Runs in your browser — your data nev
Open free tool →
Fake Data Generator
Generate realistic fake user data for testing and development. Choose locale (en/zh-TW/ja), count (1-100), fields to include, and output format (JSON/CSV/SQL INSERT). 100% browser-based.
Open free tool →
JSON Diff
Free JSON diff tool. Compare two JSON objects side-by-side with color-coded highlights: added lines in green, removed in red. Auto-formats JSON before comparing. Runs in your browser — your data never
Open free tool →
More Free Tools
Related Articles
CSV to JSON Online: Convert Spreadsheet Data in One Click
Convert CSV to JSON online free — paste spreadsheet data and get valid JSON instantly. Handles headers, quoted commas, custom delimiters, and type coercion.
jq 命令列 JSON 處理完全指南:範例與實戰大全
jq 是處理 JSON 資料的終極 CLI 工具。本文涵蓋篩選、轉換、陣列操作、條件判斷、格式化輸出,以及與 curl 結合的實戰 API 資料處理範例。
Pandas vs Polars vs DuckDB: Python Data Analysis in 2026
Comprehensive comparison of Pandas, Polars, and DuckDB for Python data analysis in 2026. Performance benchmarks, lazy evaluation, SQL interface, memory usage, and real code examples to help you choose the right tool.
Best Free Online JSON Tools for Developers in 2026
The definitive guide to free online JSON tools in 2026: formatter, validator, diff checker, schema generator, JSON-to-TypeScript converter, and more — all in your browser.
Best JSON Validators Online Free: Honest Comparison (2026)
We tested 7 free online JSON validators on speed, error messages, schema support, and developer UX. Here's which tool actually helps you fix JSON fast.
Enjoying this tool? Get more like it.
Weekly developer tool guides, productivity playbooks & AI tricks. Free. No spam.
Unlock AI-Powered Dev Tools
- ⚡ AI Code Review, Doc Generator & SQL Builder
- ⚡ All premium templates & early access
- ⚡ Member discounts on Gumroad products
$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.
MIT licensed · Instant download · No subscription
See what's included → Browse all deals →