CSV to JSON

csv-to-json · version 1.0.0 · CSV & tables · free, no key needed

Convert a complete CSV document into an array of string-valued objects.

Use when you need to: csv to json · convert csv to json · parse csv rows.

Supported

Not supported

Behavior

Input

Output

Limits

Example

Request input:

{
  "csv": "name,city\nAda,London\n"
}

Response:

{
  "result": [
    {
      "name": "Ada",
      "city": "London"
    }
  ]
}

How to call it

MCP

Connect https://computefirst.net/mcp (setup), then call execute with:

{
  "id": "csv-to-json",
  "version": "1.0.0",
  "input": {
    "csv": "name,city\nAda,London\n"
  }
}

HTTP (no key)

curl -X POST https://computefirst.net/v1/tools/csv-to-json/versions/1.0.0/execute \
  -H "Content-Type: application/json" \
  -d '{"csv":"name,city\nAda,London\n"}'

The machine-readable contract is at /v1/tools/csv-to-json/versions/1.0.0.

CLI

node cli.mjs run csv-to-json 1.0.0 --input input.json --base-url https://computefirst.net

Get the client at /clients/cli/.