CSV to JSON converter

Paste a table to get one JSON object per row. Use the first row as field names, or turn off the header option to get arrays.

Input

No key required

Empty cells become null. Values with leading zeros stay text.

Result

Example

[
  {
    "name": "Mochi",
    "lives": 9,
    "indoor": true
  },
  {
    "name": "Tofu",
    "lives": 7,
    "indoor": false
  }
]
Full response
{
  "from": "csv",
  "to": "json",
  "output": "[\n  {\n    \"name\": \"Mochi\",\n    \"lives\": 9,\n    \"indoor\": true\n  },\n  {\n    \"name\": \"Tofu\",\n    \"lives\": 7,\n    \"indoor\": false\n  }\n]"
}

Run with curl

Copy this command to run the request in your terminal. It updates as you edit the input.

For higher limits, get a free API key and add -H "Authorization: Bearer $KAMINEKO_API_KEY".

POST /v1/convert/data
curl 'https://api.kamineko.dev/v1/convert/data' \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "input": "name,lives,indoor\nMochi,9,true\nTofu,7,false\n",
  "inferTypes": true,
  "from": "csv",
  "to": "json"
}'

Use with MCP

Set KAMINEKO_API_KEY to your key and run this command to connect Claude Code. Try the convert_data tool with this prompt.

Convert this CSV export to JSON, with numbers as numbers.
MCP https://api.kamineko.dev/mcp
claude mcp add --transport http kamineko \
  https://api.kamineko.dev/mcp \
  --header "Authorization: Bearer $KAMINEKO_API_KEY"