← All Tools

Data Converter

Convert between JSON, CSV, YAML, XML, and TSV instantly in your browser

Ad 728x90

Getting started

Paste data into the input pane or upload a file, choose your target format, and click Convert. The tool auto-detects JSON, CSV, YAML, XML, and TSV.

Options:Indent
Input
0 chars | 0 lines
Output
0 chars | 0 lines

Convert Between JSON, CSV, YAML, XML & TSV Instantly

A universal data format converter for developers, analysts, and data engineers. Paste or upload data in any supported format and convert it to JSON, CSV, YAML, XML, or TSV with a single click. The auto-detect feature identifies your input format automatically, making conversions effortless.

Handles complex nested objects, arrays, and mixed data types intelligently. JSON arrays become CSV rows, nested objects are flattened with dot notation, and XML attributes are properly mapped. Ideal for API response transformation, database migration prep, configuration file conversion, and spreadsheet data cleanup.

Your data never leaves your browser — all parsing and conversion happens client-side using proven open-source libraries. Safe for converting sensitive datasets, API keys in config files, or proprietary business data between formats.

Frequently Asked Questions

What data formats can I convert between?
You can convert between JSON, CSV, YAML, XML, and TSV in any direction — 20 possible conversions. For example, JSON to CSV, CSV to YAML, XML to JSON, and more. The tool auto-detects your input format, or you can specify it manually from the dropdown.
Is my data sent to a server during conversion?
No. All conversion happens entirely in your browser using JavaScript. Your data never leaves your device, making the tool safe for sensitive or proprietary information.
How does the auto-detect feature work?
The auto-detect feature inspects the first characters and structure of your input: XML tags, JSON brackets and braces, YAML document markers and key-value patterns, tab characters (TSV), and comma separators (CSV). You can always override the detection by selecting a specific format from the "From" dropdown.
How are nested objects handled in CSV or TSV output?
Since CSV and TSV are flat, tabular formats, nested objects are automatically flattened using dot notation (e.g., address.city). Array values are serialized as JSON strings in the cell. This ensures no data is lost during conversion.
Can I upload a file instead of pasting data?
Yes. Click the "Upload" button in the input pane header to upload .json, .csv, .yaml, .yml, .xml, .tsv, or .txt files. The format is automatically detected from the file extension and the contents are loaded into the input area.