CSV to JSON
Convert to
Tools for this file
Your files never leave your device.
The first row becomes the keys, and each row after it becomes one object. Plain numbers become JSON numbers; everything else stays a string.
Questions about CSV to JSON
How does CSV to JSON work?
CSV to JSON turns a table into a list of JSON objects, ready for an app, a script or an API. Dates and the words true and false stay strings, empty rows are skipped, and the file is pretty-printed.
What does the JSON look like?
An array of objects, one per row. A CSV with the header name,age and the row Ada,36 gives [{"name": "Ada", "age": 36}]. Empty cells become empty strings.
Will 007 or long ID numbers be kept?
Yes. Only plain decimal numbers without leading zeros and with at most 15 digits before the point become numbers, so 007, phone numbers starting with +, and long IDs such as card numbers stay strings exactly as written.
What if my CSV has no header row, or a blank heading?
The first row is always used as the keys, so add a header row first if your file doesn't have one. A blank heading becomes column1, column2 and so on by position, and a repeated heading gets _2, _3 added.