Data Converter API - CSV, Excel, JSON both ways
data_convertConvert CSV (any delimiter/encoding), Excel (xlsx/xls) or JSON (nested objects flattened to dot columns) into JSON, CSV or Excel. to=json also returns the rows inline as data. Runs on our server, files are deleted right after the call, nothing stored. Free: 25 calls/day per IP. Paid: $0.003 per call via x402 at https://radarbg.com/x402/data-convert.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"to": "json",
"fileName": "people.csv",
"fileContent": "bmFtZSxjaXR5CkFubmEsQmVybGluCkl2YW4sVmFybmEK"
},
"name": "data_convert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | json, csv or xlsx | json |
| files | No | Or several files: [{fileName, fileContent (base64)}] | |
| fileName | No | File name with extension, e.g. report.pdf | |
| fileContent | No | The file as base64 (a data: URI is fine) |