CSV to JSON

Convert delimited CSV data to formatted JSON.

Drop a file here

Preparing CSV to JSON workspace…

Processed locally. Your files never leave your device.

What CSV to JSON does

Convert delimited rows into JSON objects with headers, or arrays of values without headers.

Input
CSV
Output
JSON
  • Quoted fields can contain delimiters and line breaks. With headers enabled, header names become object keys.

How to use CSV to JSON

  1. Paste or edit CSV in the source pane, or load a CSV file; conversion updates as you edit.
  2. Detect the delimiter automatically or choose comma, semicolon, tab, or pipe. Set whether the first row contains headers.
  3. Choose formatted or compact JSON, then copy or download the result.

When to use it

Turn a CSV export into JSON without losing leading zeros in account IDs.

Example

Input

id,name
00123,"Doe, Jane"

Output

[{"id":"00123","name":"Doe, Jane"}]

Important limitations

  • Cell values remain strings, including numbers and leading-zero IDs. Use unique headers: duplicate names can overwrite values in the same JSON object. Oversized inputs are rejected to protect browser memory.

JSON to CSV

Convert flat arrays of JSON objects to CSV.

Output: CSV

JSON to YAML

Convert JSON documents to readable YAML.

Output: YAML