CSV <-> JSON

live Utility

Parse RFC 4180 CSV to JSON (objects or arrays) and serialize JSON rows back to CSV with correct quoting. Handles quoted fields, escaped quotes, embedded commas/newlines. Keyless, offline.

2 tools
0ms auth
free tier 50 calls/day

Tools

csv_to_json

Parse RFC 4180 CSV into JSON (keyless, offline). With `header` true (default) the first row becomes object keys; otherwise rows are returned as arrays. Handles quoted fields, escaped quotes, and embed

No parameters required.

Try it
json_to_csv

Serialize an array of JSON objects (or arrays) to CSV (keyless, offline). Object keys become the header (union of all keys, in first-seen order). Fields are quoted when needed.

No parameters required.

Try it

Test with curl

The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.

List available tools
bash
curl -X POST https://gateway.pipeworx.io/csv/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
Call a tool
bash
curl -X POST https://gateway.pipeworx.io/csv/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"csv_to_json","arguments":{}}}'

Use with the SDK

Install @pipeworx/sdk to call tools from any TypeScript/Node project.

TypeScript
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("csv_to_json", {});
ask_pipeworx
// Or ask in plain English:
const answer = await px.ask("parse rfc 4180 csv to json (objects or arrays) and serialize json rows back to csv with correct quoting");