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.
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.
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
- Use the provided example value or replace the CSV field.
- Click Verify result and check the following result.
- 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
- RFC 8259 — JSON
JSON syntax and interoperability considerations for number precision
- RFC 4180 — CSV
Comma separation, field quote and newline rules. Spreadsheet formula protection is additional processing by this tool.
Verification of calculation criteria: · Calculation·verification principles · Report errors