rocket

CSV ⇄ JSON Converter

A two-way CSV ⇄ JSON converter: paste CSV to get a typed array of objects (RFC-4180 quoting, numbers/booleans/null inference, quoted cells stay strings) or flip direction to serialize a JSON array back to CSV. Delimiter chips (comma/tab/semicolon) with auto-detection, row/column counts and copy.

npx shadcn@latest add https://rocket.gozturk.dev/r/csv-json-converter.json
delim
JSON · 3 rows × 5 cols
[
  {
    "id": 1,
    "name": "Ada",
    "active": true,
    "score": 4.5,
    "note": "hello, world"
  },
  {
    "id": 2,
    "name": "Linus",
    "active": false,
    "score": 9,
    "note": null
  },
  {
    "id": 3,
    "name": "Grace",
    "active": true,
    "score": null,
    "note": "quote \"x\""
  }
]

quoted cells stay strings; bare true/false/numbers are typed, empty → null