CONVERSION
Convert JSON to CSV
Automatically flatten your JSON data into clean CSV files ready for Excel, Power BI, or your databases
Try for free →Why convert JSON to CSV?
Modern APIs return JSON, but many business tools still rely on tabular files.
- Excel and Google Sheets : pivot tables, charts and filters need flat tabular data
- Power BI and Tableau : structured columnar data for dashboards and reports
- Database imports : bulk loading into MySQL, PostgreSQL or SQL Server
- ERP and accounting : many legacy systems only accept CSV
Orchestria transforms your API responses into clean CSV without writing code.
Flattening nested structures
JSON is hierarchical — flattening it into CSV columns presents several challenges.
- Nested objects :
{"address": {"street": "..."}}must becomeaddress.street - Arrays : how to represent
["urgent", "client"]in a single cell? - Missing values : some records have fields that others lack entirely
- Variable depth : data nested across multiple unpredictable levels
- Mixed types : a field may contain a number, a string or an object
Custom scripts quickly become unmanageable when the JSON structure evolves.
Smart mapping
Orchestria analyzes your JSON and generates a consistent CSV through intelligent mapping.
- Recursive flattening : nested objects converted to columns (
address.street) - Array handling : concatenation, row explosion or serialization
- Consistent columns : same number of fields on every row
- Configurable delimiter : comma, semicolon or tab for your target tool
- Adaptive encoding : UTF-8 with BOM for Excel, standard for databases
Describe the desired output and Orchestria generates the right conversion flow.
Conversion example
BEFORE
[
{
"company": "Acme Corp",
"contact": {
"name": "John Smith",
"email": "john@acme.com"
},
"revenue": 15000,
"tags": ["premium", "enterprise"]
},
{
"company": "Globex Inc",
"contact": {
"name": "Jane Doe",
"email": "jane@globex.com"
},
"revenue": 8500,
"tags": ["standard"]
}
]
AFTER
company,contact.name,contact.email,revenue,tags
Acme Corp,John Smith,john@acme.com,15000,premium|enterprise
Globex Inc,Jane Doe,jane@globex.com,8500,standard
HOW IT WORKS
How it works
Provide input and output samples
Describe the transformation
Execute and reuse via API
The Excel equivalent
Traditional method
In Excel, you would need to use Power Query to import JSON, manually configure column expansion for nested objects, and handle type errors. Every structure change requires rebuilding the query from scratch.
With Orchestria
With Orchestria, paste your JSON and get a perfectly flattened CSV in seconds. Nested objects are automatically converted to columns, and arrays are handled according to your preference.