I needed to convert some comma-separated data into JSON for a JavaScript project I’m working on. Surprisingly I couldn’t find anything online to do it so I knocked up this script. Hope someone finds it useful.

Currently it requires the CSV file to be uploaded online somewhere. If there’s demand I can change it to allow uploading of a file or just pasting in the data.

Convert CSV to JSON.