Convert JSON, CSV, YAML and XML
Switch data between formats without a script. Turn a JSON array into a CSV for a spreadsheet, a CSV into JSON for an API, YAML into JSON for a config, or XML into either. Options let you choose the delimiter, headers and formatting.
Tooloat runs in your browser and needs JavaScript. It opens in a moment, and your files are processed on your device.
How it works
- Paste your data or open a file.
- Choose the input and output formats.
- Copy or download the converted data.
Why use it
- JSON, CSV, YAML and XML in any direction.
- Delimiter, header and quoting options.
- Nested data is handled sensibly.
- Local processing, no upload.
Popular ways to use this tool
- CSV to JSON converter
- JSON to YAML converter
- YAML to JSON converter
- XML to JSON converter
- JSON to XML converter
Questions and answers
How do I convert JSON to CSV?
Paste a JSON array of objects, choose CSV as the output, and the keys become the header row.
What happens to nested objects?
They are flattened with dotted column names or kept as JSON text, depending on the option you choose.
Is there a size limit?
No fixed limit. Very large inputs depend on your device memory.
Related tools
- JSON formatter and validatorPaste JSON and get it pretty printed, minified or key sorted.
- Excel to CSV converterConvert a workbook to CSV, TSV or JSON with one file per sheet, or turn a CSV into a proper Excel file.
- CSV viewer and column filterOpen a CSV that is too big for a spreadsheet.
- Base64 encoder and decoderConvert text or files to Base64 and back.