# Convert JSON to CSV for Excel

**Use case:** 

Turn JSON objects into a CSV file with headers and open the result in Excel.

## Input

```json
{
  "target": "direct",
  "jsonInput": [
    {
      "student": "Ada",
      "score": 98,
      "comment": null
    },
    {
      "student": "Grace",
      "score": 95
    }
  ],
  "nestedValueMode": "flatten",
  "keySeparator": ".",
  "arrayValueMode": "cells",
  "outputFormat": "csv",
  "columnDelimiter": ",",
  "includeHeaders": true,
  "nullValue": "N/A"
}
```

## Output

```json
{
  "rowNumber": {
    "label": "Row number",
    "format": "integer"
  },
  "values": {
    "label": "Converted values",
    "format": "object"
  }
}
```

## About this Actor

This example demonstrates how to use [JSON to CSV Converter](https://apify.com/maximedupre/json-to-csv-converter) with a specific input configuration. Visit the [Actor detail page](https://apify.com/maximedupre/json-to-csv-converter) to learn more, explore other use cases, and run it yourself.