Open beta: the free plan is fully available, payments run in test mode (no real charge)
Skip to content

Convert your data without writing a parser

A CSV export to turn into JSON, an XML feed to read, a YAML file to check: send the document, get the format you want.

  • Make, Zapier, n8n integrations
  • Catalogue imports
  • Migrations
  • Reporting scripts

Get a free key

POST

/v1/convert

1 credit(s) per call

Converts a document between JSON, CSV, XML and YAML. Variant: send the raw document with ?from=csv&to=json as URL parameters; the response is then the converted document.

Try it online

Source format: json, csv, xml or yaml.

Target format: json, csv, xml or yaml.

Source document, as text.

Free tool limited to 20 tries per day. With a key, your quota applies.

Result

—

Example request

curl -X POST https://supercalcula.ch/api/v1/convert \
  -H "Authorization: Bearer sk_live_…" \
  -H "Content-Type: application/json" \
  -d '{"from":"csv","to":"json","data":"name,city\nAlexandre,Genève"}'

Response

{
    "ok": true,
    "data": {
        "to": "json",
        "result": "[\n    {\n        \"name\": \"Alexandre\",\n        \"city\": \"Genève\"\n    }\n]",
        "rows": 1
    }
}

Limits and cost

  • Cost : 1 credit(s) per call
  • Document: 1 MB (Free plan), 10 MB (Starter and Pro)
  • Syntax errors with the line number
  • XML without DTD or external entities

Full reference in the documentation →