Paste or choose a CSV file with a header row and turn each data row into a JSON object.
The first row becomes field names. Quoted commas and line breaks are supported. Values remain strings, including numbers and dates, so review types before importing. The file stays in your browser.
Worked example
Prepare a CSV record for a JSON import.
Example input
Name,Sales
Asha,120
Expected result
[{"Name":"Asha","Sales":"120"}]
Before using your result
CSV values remain strings. Convert Sales to a number in the receiving system if its schema requires a number.
How this works
The first row becomes JSON field names. Quoted CSV cells may contain commas or line breaks. Rows shorter than the header receive empty strings for missing cells.
All values remain strings, including values that look like numbers or dates. Review types and private data before importing the result into another system.
Browser-only CSV conversion; up to 5,000 rows and 1 million characters.
Questions
Are CSV files uploaded?+–
No. The selected file is read and converted in your browser.
Can fields contain commas?+–
Yes. Put a cell in double quotes, and double an internal quote character.
Why are numbers shown as strings?+–
The tool preserves CSV cell text instead of guessing data types.