JSON and CSV are both widely used for storing and exchanging data. They are very different in structure (JSON is structured as a tree and CSV is structured as a table). But you can easily convert JSON to CSV with Easy Data Transform:
Example JSON input:
[
{
"CustomerID": "ALFKI",
"CompanyName": "Alfreds Futterkiste",
"ContactName": "Maria Anders"
},
{
"CustomerID": "ANATR",
"CompanyName": "Ana Trujillo Emparedados y helados",
"ContactName": "Ana Trujillo"
},
{
"CustomerID": "ANTON",
"CompanyName": "Antonio Moreno Taquería",
"ContactName": "Antonio Moreno"
}
]
Example CSV output:
CustomerID,CompanyName,ContactName
ALFKI,Alfreds Futterkiste,Maria Anders
ANATR,Ana Trujillo Emparedados y helados,Ana Trujillo
ANTON,Antonio Moreno Taquería,Antonio Moreno
The dot (‘.’) character is used to show nesting of JSON values. For example:
[
{
"name": "Avocado Dip",
"carb": "2",
"cholesterol": "5",
"fiber": "0",
"minerals": {
"ca": "0",
"fe": "0"
},
"protein": "1",
"sodium": "210",
"vitamins": {
"a": "0",
"c": "0"
}
}
]
Will be ‘flattened’ into a table as:
Use the Rename Cols transform before output if you want to rename any of the columns.
If you have lots of files to convert you can do it using the batch processing feature.
As well as changing file format, Easy Data Transform also allows you to combine 67 transforms (such as merge, filter and dedupe) to quickly and easily create complex data transformations.
v2.0.1 for Windows 11 / 10 / 8 / 7 (61 MB)
Zip file version
v2.0.1 for Mac 15.x to 10.13 (82 MB)
No commitments.
You can uninstall any time.
You don't even have to give us your email address.
Questions or problems?