Go to example tasks

Convert a data file between JSON, XML, YAML and CSV

Reads the sample country codes CSV and writes it in the output format you pick, CSV by default, with a download link for the file. Pick JSON, JSON Lines, XML, YAML or TSV instead, or swap in your own file URLs, pasted data or Apify datasets.

Try for free
Data Format Converter: JSON, XML, YAML, CSV and TSV
Data Format Converter: JSON, XML, YAML, CSV and TSVexamsens.ai/data-format-converter
Source
Converted
From
To
+5 fields
Text
Number
Boolean
List
Object

Input

File URLs
url:https://raw.githubusercontent.com/datasets/country-codes/main/data/country-codes.csv
Input format:auto

Output fields

Source
Converted
From
To
Records
Columns
Download
Bytes
Error

How it works

Sign up on Apify or log in

The Data Format Converter: JSON, XML, YAML, CSV and TSV Actor is ready to run with the inputs already set for "Convert a data file between JSON, XML, YAML and CSV". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "Convert a data file between JSON, XML, YAML and CSV" task

The Data Format Converter: JSON, XML, YAML, CSV and TSV Actor will start running based on the input automatically. You can also change all the input fields, like file urls and input format, to match your specific use case.

Receive the "Convert a data file between JSON, XML, YAML and CSV" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as source, converted, from, and more.

Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "Convert a data file between JSON, XML, YAML and CSV" task via API.

Image

Integrate "Convert a data file between JSON, XML, YAML and CSV" into your workflow

Connect "Convert a data file between JSON, XML, YAML and CSV" with 100+ integrations, or run it via API or MCP.

Webhook

Webhook

n8n

n8n

Make

Make

Zapier

Zapier

Airbyte

Airbyte

Keboola

Keboola

IFTTT

IFTTT

Hubspot

Hubspot

GDrive

GDrive

Gmail

Gmail

Apify MCP

Apify MCP

GitHub

GitHub

Slack

Slack

LangChain

LangChain

LlamaIndex

LlamaIndex

Flowise

Flowise

Pinecone

Pinecone

OpenAI

OpenAI

Mastra

Mastra

Clay

Clay