Format Conversion
XLSX JSON Transformer
Bidirectional conversion between JSON arrays and Excel sheets, with nested object flattening and restoration
file· File resultOpen tool
Quick start
Call this tool from your code in three languages.
cURL
# 1) Request a presigned URL → returns { uploadUrl, storageKey }
curl -X POST 'https://api.elysiatools.com/api/upload/presign/xlsx-json-transformer' \
-H 'Content-Type: application/json' \
-d '{"filename":"excelFile.ext","contentType":"application/octet-stream","size":12345}'
# 2) PUT the file bytes directly to the presigned uploadUrl
curl -X PUT '<presigned uploadUrl>' \
--data-binary @/path/to/file.ext
# 3) Call the tool, passing the returned storageKey for each file field
curl -X POST 'https://api.elysiatools.com/en/api/tools/xlsx-json-transformer' \
-F 'mode=json_to_xlsx' \
-F 'jsonInput=[{"id":1,"user":{"name":"Alice","address":{"city":"Paris"}},"tags":["a","b"]}]' \
-F 'excelFile=uploads/2026/01/01/your-tool-1700000000000-abc123.ext' \
-F 'sheetName=Data' \
-F 'pathSeparator=.' \
-F 'arrayMode=index' \
-F 'keepNullValues=true' \
-F 'restoreTypes=true' \
-F 'rootArrayKey=items' \
-F 'outputIndent=2'