JSON → CSV
Input (JSON)
[
{ "name": "Alice", "age": 28 },
{ "name": "Bob", "age": 31 }
]Converted output (CSV)
name,age Alice,28 Bob,31
Convert JSON to CSV, XML, YAML and vice versa.
Tool input is processed in your browser. The site uses visitor analytics; conversion operations do not send the input content.
JSON and YAML convert both ways, retaining numbers, booleans, arrays and null. Dates stay strings. Cycles, multiple documents and non-JSON values are not supported.
Input (JSON)
[
{ "name": "Alice", "age": 28 },
{ "name": "Bob", "age": 31 }
]Converted output (CSV)
name,age Alice,28 Bob,31
Input (JSON)
{
"users": {
"user": [
{
"name": "Alice",
"age": 28
},
{
"name": "Bob",
"age": 31
}
]
}
}Converted output (XML)
<users>
<user>
<name>Alice</name>
<age>28</age>
</user>
<user>
<name>Bob</name>
<age>31</age>
</user>
</users>Input (JSON)
{
"users": [
{
"name": "Alice",
"age": 28
},
{
"name": "Bob",
"age": 31
}
],
"active": true
}Converted output (YAML)
users:
- name: Alice
age: 28
- name: Bob
age: 31
active: true
Suitable for exporting JSON data to spreadsheet format (like Excel) for data analysis and viewing.
Suitable for integration with legacy systems or using SOAP protocols, XML is a universal markup language.
YAML format is commonly used for configuration files (like Kubernetes config), it is more readable than JSON and supports comments.
Convert a CSV table with headers to an array of JSON objects. Cells remain strings to preserve identifiers and leading zeros.
Convert XML nodes to JSON while retaining the root, attributes, text and repeated nodes. Useful for reading XML responses and configuration data.
Convert YAML configuration to JSON while retaining numbers, booleans, arrays and null for validation, comparison or queries.
{
"name": "JSON Master",
"features": ["Format", "Validate", "Convert"],
"active": true
}