All tools

CSV to JSON

Turn a CSV into a JSON array.

Delimiter
[
  {
    "id": 1,
    "name": "Alice",
    "city": "Berlin"
  },
  {
    "id": 2,
    "name": "Bob",
    "city": "Lisbon"
  },
  {
    "id": 3,
    "name": "Carol",
    "city": "Tokyo"
  }
]

About

Paste CSV with a header row. Each row becomes an object keyed by the header. Quoted fields with embedded commas are handled correctly. Pick the delimiter if it isn't a comma.

How to use

  1. Paste your CSV (header row required).
  2. Pick the delimiter if needed.
  3. Copy or download the JSON.

FAQ

Does it auto-detect numbers and booleans?+

Yes by default. '42' becomes a number, 'true' becomes a boolean, empty cells become null. Toggle off if you want everything as strings.