JSON → CSV

Convert JSON to CSV

Automatically flatten your JSON data into clean CSV files ready for Excel, Power BI, or your databases

Try for free →
No credit card Data stays local Support included

"We had a Python script per supplier. I replaced them all in one afternoon."

Thomas R. — IT Manager, Manufacturing SMB

input.json ⚠ Source data
[
  {
    "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"]
  }
]
💬
Rule in plain English
Write a prompt specifying the conversion details: delimiter, array handling (concatenate or explode into rows), columns to include or exclude, and encoding preferences.
⚙ Orchestria transforms
output.csv ✓ Ready to use
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

THE SOLUTION

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.

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 become address.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.

HOW IT WORKS

How it works

01

Provide input and output samples

Paste a sample of your JSON data as input, and provide the expected CSV structure as output. This tells Orchestria exactly how to flatten your data.
02

Describe the transformation

Write a prompt specifying the conversion details: delimiter, array handling (concatenate or explode into rows), columns to include or exclude, and encoding preferences.
03

Execute and reuse via API

Orchestria generates a workflow that performs the conversion. Run it instantly and reuse it via API for all your future JSON-to-CSV transformations.

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.

Related software

Excel Power BI Tableau Google Sheets MySQL PostgreSQL

Ready to replace your scripts with something maintainable?

100 executions/month, no credit card required

  • No credit card
  • All your data stays with you
  • Support included
Try for free
Free access — no commitment
Create a free account →
Already have an account? Sign in

GDPR
FR Mistral
No dev