CSV to JSON Array Converter
Turn CSV records into a JSON array using the first row as property names.
Choose a CSV. Values remain strings so identifiers keep leading zeros.
A clear result starts here
Run the tool to see your output here.
Try the example to explore how it works.What to know about this tool
10 MB and 50,000 rows; unique nonblank headers and rectangular records required. All cells stay strings, including leading-zero identifiers. Duplicate headers and missing/extra cells are rejected.
Instructions and examples
From input to output
- Choose or paste a CSV with a header row.
- Check Input delimiter, then select Convert to JSON.
- Inspect the array of records and download JSON.
Settings and result behavior
- Headers become property names and each data row becomes an object.
- Every cell remains a string. Text that looks like a number, boolean or date is not converted.
A worked example
- Input
id,ready 001,true 002,false
- Settings
- Comma delimiter; no type conversion options.
- Expected result
[{"id":"001","ready":"true"},{"id":"002","ready":"false"}]
Supported input and limits
Choose a UTF-8 CSV, TSV or TXT file, or open “Paste CSV instead”. Use comma, semicolon, tab or pipe separators. A header row with unique nonblank names and the same field count on every row is required. JSON output is formatted with indentation and capped conservatively at 20 MB.
10 MB and 50,000 rows; unique nonblank headers and rectangular records required. All cells stay strings, including leading-zero identifiers. Duplicate headers and missing/extra cells are rejected.
If the result is unexpected
- Duplicate or blank headers are rejected because they could lose property data.
- If the receiving API needs numbers or booleans, use its documented schema and transform a copy deliberately; this tool does not infer types.
Check before using the result
Check quoted IDs, empty strings and property names. Parse the downloaded JSON in the intended application before substituting it for a production export.
Report a problem with this tool. Include a nonsensitive example and your browser details.
Practical guides
- Compare Two CSV Exports Using a Unique Key
Match CSV records by a stable identifier and distinguish added, removed and changed rows from simple row-order differences.