CSV JSON converter

Convert CSV to JSON and JSON back to CSV, with a delimiter and a header row you choose.

Runs in browser

Use from your agent

Streamable HTTP at https://benchline.fabwaseem.com/mcp. No key. The tool name is convert_csv_json.

mcp.jsonjson
1{
2 "mcpServers": {
3 "benchline": {
4 "url": "https://benchline.fabwaseem.com/mcp"
5 }
6 }
7}
tools/calljson
1{
2 "jsonrpc": "2.0",
3 "id": 1,
4 "method": "tools/call",
5 "params": {
6 "name": "convert_csv_json",
7 "arguments": {
8 "text": "example",
9 "direction": "csv-to-json",
10 "delimiter": "auto",
11 "header": true,
12 "inferTypes": true,
13 "flatten": false
14 }
15 }
16}

How it works

Free CSV to JSON and JSON to CSV converter. Pick a comma, tab, semicolon, or pipe, or let the first row decide. Keep or drop the header, infer booleans and numbers, and flatten nested JSON into dotted columns. It runs in the browser.

  1. 01

    Choose a direction

    CSV to JSON reads a table. JSON to CSV writes one. The sample in each direction shows the shape that works.

  2. 02

    Set the delimiter and header

    Auto detects the delimiter from the first record. Turn the header off for a grid with no names.

  3. 03

    Copy the result

    Inferred types and flattened columns are applied before the output is shown. An unclosed quote is reported instead of a partial table.

FAQ