Developer Tools

Converters

CSV to JSON Converter

Turn a CSV table into a JSON array.

CSV0 chars
JSON

Guide & explanation

The CSV to JSON Converter turns tabular data into JSON.

Header mode

  • Header row on — the first row becomes the key names; each following row becomes one object.
  • Off — the result is an array of arrays (row by row).

Example

id,name,active
1,"Ada, L.",true
[ { "id": 1, "name": "Ada, L.", "active": true } ]

Options

  • Delimiter — comma, semicolon, tab, or pipe.
  • Detect types — turn 42 / true / false into JSON types.

The parser follows RFC 4180: fields may be quoted, and "" inside a quoted field means a single quote character.