Development·design 78

CSV→JSON converter

Use the first row header as a key to convert it into a CSV JSON array.

Input

The example value has been entered. Check it immediately or change the value.

Run with Ctrl or ⌘ + Enter

Input is processed in the browser. Refreshing returns a sample value.

Result

Check or change the value using the example value result.

Headers cannot be duplicate or empty. The number of columns per row must be the same. Comma-separated CSV is supported.

Share result

Share the tool link and result text together. No URL is included in the result. Check the below content and then share it.

Calculation·conversion criteria

Convert comma-separated CSV JSON array with a header.

Parse commas, quotes, and newlines inside quotes; values remain as strings

Input example

name,score / A,1 → [{"name":"A","score":"1"}]

Under the header name,score, enter A,10 to make name A and score a string of 10. Commas and line breaks inside quoted fields are treated as one value.

How to use

  1. Use the provided example value or replace the CSV field.
  2. Click Verify result and check the following result.
  3. Result can be copied if needed.

Frequently Asked Questions

Does the first digit 0 in postal code 00123 disappear?

The value is kept as a string, so 00123 is preserved. No numbers or dates are auto-detected. Errors are indicated if the header is duplicate, empty, or has different row column counts.

Calculation criteria and reference materials

Verification of calculation criteria: · Calculation·verification principles · Report errors