Data converter
Convert your data between CSV, JSON, XML and YAML in any direction. Format detected automatically, errors pinpointed, table preview. Everything runs in your browser.
Accepted: JSON, CSV, TSV, XML, YAML, YML, TXT, GEOJSON, JSONC, TAB, RSS, ATOM, KML, GPX, XSD, PLIST · Max 50 MB per file
Processed on your device — nothing is uploaded.
Tip: paste text anywhere on the page (Ctrl+V).
How to convert data
Drop a CSV, JSON, XML or YAML file, or paste its content: the format is detected.
Pick the target format; the result updates as you edit the input.
Copy or download the result. The ⇄ button starts again from the result for another conversion.
Why use this tool
- Four formats, every direction
- CSV (comma, semicolon, tab), JSON, XML and YAML. The input format is detected and the result updates with every keystroke.
- Errors explained
- A missing comma, a badly closed tag, wrong indentation: the line and column are shown, the line is highlighted and “Go to error” puts the cursor there.
- Useful settings
- CSV headers and delimiter, number detection, indentation, key sorting, XML element names, Excel-friendly CSV. Table preview of the first 100 rows.
- Nothing leaves your device
- The conversion runs in your browser: your data is never sent to a server, even 50 MB files.
More data tools
- CSV to JSONEach CSV row becomes a JSON object keyed by the headers. Delimiter detected, numbers and booleans recognised.
- JSON to CSVA list of JSON objects becomes a CSV table ready for Excel. Nested objects are flattened into columns.
- XML to JSONTurn an XML document into readable JSON: attributes prefixed with @, repeated elements grouped into arrays.
- JSON to XMLProduce well-formed XML from JSON. Root and item names adjustable, keys fixed up when needed.
- CSV editorOpen a CSV in a real spreadsheet: delimiter detected, accents kept, save as CSV or Excel.
- CSV to XLSXOpen a CSV in Excel without broken accents or columns.