Beato symbolBeato

CSV to JSON

Turn comma-separated rows into JSON objects while keeping values such as 001 as strings.

Inputs are processed in your browser without uploads, an account, or credits.

How to use it

  1. Paste comma-separated data with column names on the first row.
  2. Wrap fields containing commas or line breaks in double quotes, then convert to a JSON array.

Example

Input
id,name
001,"A,B"
Result
[
  {
    "id": "001",
    "name": "A,B"
  }
]

Limits

Column names are used exactly as written and must be nonempty and unique. Every data row must have the header's column count; a header alone produces an empty array.

Related tools