Stop Pasting Your Code into Random websites

CSV to JSON

Using Polypad, this script converts a CSV (comma demlimited) file to JSON.

How to use CSV to Json?

Using the CSV to Json script with Polypad is very easy. Let’s say we have some text copied from a CSV file. Simply paste the CSV text down below into Polypad.

Name,City,Sport
Darius,Miami,Golf
Kyle,San Mateo,Surf

Press cmd/ctrl + p depending on your operating system and search for the CSV to Json script and select it. The expected output should read:

[
  {
    "Name": "Darius",
    "City": "Miami",
    "Sport": "Golf"
  },
  {
    "Name": "Kyle",
    "City": "San Mateo",
    "Sport": "Surf"
  }
]

To learn more about CSV to JSON, please visit our blog