JSON to CSV

json-to-csv · version 1.0.0 · JSON & JSONL · free, no key needed

Serialize string-valued JSON rows to CSV using explicit ordered columns.

Use when you need to: json to csv · convert json rows to csv · serialize json objects as csv.

Supported

Not supported

Behavior

Input

Output

Limits

Example

Request input:

{
  "columns": [
    "name",
    "note"
  ],
  "rows": [
    {
      "name": "Ada",
      "note": "hello, world"
    }
  ]
}

Response:

{
  "result": "name,note\nAda,\"hello, world\"\n"
}

How to call it

MCP

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

{
  "id": "json-to-csv",
  "version": "1.0.0",
  "input": {
    "columns": [
      "name",
      "note"
    ],
    "rows": [
      {
        "name": "Ada",
        "note": "hello, world"
      }
    ]
  }
}

HTTP (no key)

curl -X POST https://computefirst.net/v1/tools/json-to-csv/versions/1.0.0/execute \
  -H "Content-Type: application/json" \
  -d '{"columns":["name","note"],"rows":[{"name":"Ada","note":"hello, world"}]}'

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

CLI

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

Get the client at /clients/cli/.