Development and data
How to convert a CSV table into JSON objects
A comma-delimited list can be converted into objects to review sample data. The first row supplies property names.
Before you start
Text is processed in the browser. Consider the content before using it and read the privacy policy.
PrivacyHow to use it
Enter name,note on the first line and Ada,"red, blue" on the second.
Convert and check the array of objects.
Try name,note followed by a row containing only Ada: the tool reports a column error.
Worked example
Quotes keep the comma inside the note field. The result contains one object; both values are JSON strings.
Result: [{"name":"Ada","note":"red, blue"}].
Limits and checks
The delimiter is a comma; fields containing commas, quotes or line breaks need CSV quotes, with internal quotes doubled. Empty or duplicate headers and inconsistent column counts are rejected. Numbers, dates and types are not inferred: every value is a string.
Next step
To review the result’s syntax, use JSON Formatter.
How to format and check JSON before sharing it