JSON to CSV converter

Take the JSON an API gave you and open it as a spreadsheet. Every object becomes a row, every key a column, and nested objects are flattened into columns such as address.city.

How it works

  1. Paste a JSON array of objects.
  2. Choose the delimiter your spreadsheet expects.
  3. Press Convert and download the CSV.

What happens to nested objects?

One level of nesting becomes dotted columns (address.city). Deeper objects and arrays are written into the cell as JSON.

Which delimiter should I use?

Comma for most tools. Excel in many European locales expects a semicolon; choose Tab to paste straight into a sheet.

What if the objects have different keys?

The CSV has one column for every key found in any row; a row that lacks a key gets an empty cell.

Use it from ChatGPT, Claude or your own agent

This tool is also a function an AI agent can call for you. It needs the same free account as this page, nothing else.

Fields

  • json (text, required): JSON
  • delimiter ("comma" | "semicolon" | "tab", optional): Delimiter

A call that works

POST https://orkosi.com/api/v1/public/tools/json-to-csv/run
Authorization: Bearer <api_key>

{
  "input": {
    "json": "[{\"name\":\"Ana\",\"plan\":\"pro\",\"address\":{\"city\":\"Lisbon\"}},{\"name\":\"Ben\",\"plan\":\"starter\",\"address\":{\"city\":\"Leeds\"}}]"
  }
}

Need an account? One request creates it and answers the key: POST https://orkosi.com/api/v1/public/signup. In Claude or ChatGPT, add the Orkosi connector and sign in: https://orkosi.com/api/v1/public/mcp.

This tool as Markdown · Connect an AI assistant