Tools API Blog
Sign in Create account

JSON to Excel

JSON to Excel is an API that converts an array of JSON objects into a real .xlsx file (opens directly in Excel, Google Sheets or Numbers), with columns taken from every object's keys.

How it works

You send data (an array of objects) and get the .xlsx file back. If one object has a field others don't, that column still shows up, blank on the rows where it's missing.

All you need

  • Your API key. Create it in your dashboard with "+ Create key".
  • In your automation platform, an "HTTP Request" step (n8n, Make, Zapier, Pipedream…).

How to use it in n8n

  • Method: POST · URL: https://api.cofferdock.com/json-to-excel
  • Send Headers: x-api-key = your key, Content-Type = application/json
  • Send Body (JSON): { "data": [{"name":"Ana","age":30}] }
  • In Options → Response → Response Format: choose File

Options

OptionDefaultWhat it does
data-Required. Array of objects.
sheet_nameSheet1Sheet name (max 31 characters, Excel's own limit).
headertrueInclude the column-name row.

What you get back

By default (JSON): xlsx as base64. Add output=xlsx for the raw binary, or output=url for a temporary link.