TSV to CSV
Format ConvertersConvert tab-separated values to comma-separated values
How to Use This Tool
Paste source data
Paste the data you want to convert into the input panel. The tool accepts standard TSV input.
Conversion runs instantly
Your data is converted to the target format in real time as you type — no waiting, no servers.
Review the output
Check the converted output in the right panel. The structure and values are preserved exactly.
Copy or download
Use the Copy or Download buttons to grab your converted data and use it wherever you need.
About This Tool
TSV to CSV is a free, instant, browser-based tool that convert tab-separated values to comma-separated values. Data format conversion is a routine task for developers, data engineers, and DevOps practitioners. Different systems, APIs, and tools expect data in different formats — JSON, YAML, XML, CSV, TOML, and others each have their own strengths and use cases. Being able to quickly convert between them eliminates friction and speeds up integration work.
This tool runs entirely in your browser. Your data never leaves your computer, so you can safely convert sensitive configuration files, API payloads, and proprietary data structures.
JSON is the dominant format for web APIs and JavaScript applications. YAML is preferred for configuration files due to its readability. XML is widely used in enterprise systems and legacy integrations. CSV is the universal format for tabular data exchange with spreadsheets and databases. TOML is popular for application configuration in languages like Rust and Python.
Converting between these formats manually is error-prone and tedious, especially for large files. This tool handles the structural transformation automatically and correctly, preserving data types, nested structures, and arrays as faithfully as the target format allows.
TSV to CSV converts tab-separated exports from databases and spreadsheet applications into the more widely-supported comma-separated format. Many APIs, libraries, and import tools expect CSV rather than TSV.
Why Use This Tool?
TSV to CSV converts tab-separated exports from databases and spreadsheet applications into the more widely-supported comma-separated format. Many APIs, libraries, and import tools expect CSV rather than TSV.
Common pitfalls and gotchas
The mistakes that come up repeatedly when working with format converters tools — most of them invisible until they cause production failures or silent data corruption.
Lossy conversion through an intermediate format
Converting JSON → XML → JSON loses type information (XML has no native distinction between numbers and strings). Converting CSV → JSON → CSV loses original column ordering and quoting style. Convert directly between formats whenever possible, and validate that the output round-trips faithfully when round-tripping matters.
Schema drift between source and target
When converting between hierarchical (JSON, XML) and flat (CSV, TSV) formats, nested structures must be flattened or expanded. Different converters use different conventions — `parent.child.value` versus `parent_child_value` versus separate columns. If your downstream consumer expects a specific schema, verify the output matches before automating the conversion.
Locale-sensitive number and date parsing
European locales use commas as decimal separators (`1,5` is one and a half), American locales use periods. Converting CSV between locales without explicit format specification produces wrong numbers in your output. Always specify locale or use ISO-8601 dates and dot-decimal numbers for cross-locale interchange.
Frequently asked questions
What types are preserved when converting between formats?
JSON has numbers, booleans, strings, null, arrays, and objects. YAML and TOML preserve these. XML treats everything as strings unless schemas are involved. CSV is all strings. Converting JSON → CSV → JSON loses booleans and numbers (they become quoted strings). When type-faithful round-trips matter, choose formats carefully.
Why does my converted output look different from what I expected?
Different converters use different conventions for ambiguous cases — XML attributes versus child elements, array-of-one versus single object, null versus empty string. Read the converter's documentation for its conventions, or use a library that lets you configure them explicitly.
Can I convert files larger than what fits in memory?
This browser-based tool loads everything into memory, so files larger than ~100 MB may be slow or fail. For multi-gigabyte data files, use streaming converters (jq, xq, csvkit, dasel) that process records one at a time without loading the whole file.
What if my source data has invalid syntax?
Most converters report a clear error message with the line and character position of the first problem. Fix the source data and re-run; converters typically fail fast on invalid input rather than producing partially-converted output that hides the issue.