Tools API Blog
Sign in Create account

Excel to JSON

Excel to JSON is an API that converts a sheet from an .xlsx file into an array of JSON objects, using the first row as field names.

How it works

You send the .xlsx file (binary, or base64 inside a JSON body) and get the array back. If the workbook has several sheets, it uses the first one by default; pick another with sheet (by name or number, starting at 0).

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/excel-to-json
  • Send Headers: x-api-key = your key
  • Send Body: binary file (in n8n: "n8n Binary File")

Options

OptionDefaultWhat it does
sheetthe first oneName or number (0, 1, 2…) of the sheet to read.
headertrueFirst row as field names. With false, rows as arrays.

What you get back

data (the array) and meta.sheets (the names of every sheet in the workbook, in case you want a different one).