Developers and students often need data in JSON for an app or a website, while the data starts in Excel. Excel/CSV to JSON turns each row into an object and each header into a key, and it can convert JSON back into a spreadsheet. It runs in your browser, so your data is never uploaded.
This is handy for students and developers who need sample data for an app, and for anyone who wants to move records between systems. Keys come from your header row, so clear header names make clear JSON. Unicode text such as Hindi stays as it is.
How to convert a spreadsheet to JSON
- Open the tool and add your Excel or CSV file, or a JSON file.
- Choose the direction of the conversion.
- Convert the file.
- Download the JSON or the spreadsheet.
Preparing your sheet
- Put the header names in row 1 and keep them unique.
- Avoid merged cells, as they do not map neatly to JSON objects.
- Check that numbers and text are stored as you expect before converting.
Limits, formats and privacy
Each row becomes one object, keyed by the header. For the reverse direction, the JSON should be a list of similar objects, otherwise the columns may not line up the way you expect.
Unicode text is kept intact. Your files are processed inside your browser and are never uploaded to a server.
When to use it
- App and website data. Create a JSON list of products, stations or schools from a sheet.
- Class projects. Prepare sample data for a programming assignment.
- Moving data between apps. Convert back to a sheet with Excel to CSV when needed.
For large files, give the browser a moment to finish. Once you have the JSON, open it in any text editor to check that the keys and values look right before you use it in your project.
It is a good first step in a small project. Convert your sheet, paste the JSON into your code, and you have working sample data in a minute.
Tip: if you plan to convert the JSON back to a spreadsheet later, keep the keys in each object the same, so the columns come out neatly.