Turn a spreadsheet export with a header row into a JSON array.
How to use CSV to JSON
- Paste your CSV or load the example.
- Select Convert.
- Read the result in the output panel.
What the tool does
Every cell stays a string, so a value such as 0017 keeps its leading zeros. Each row must have the same number of fields as the header.
Try this example
id,name 0017,"Riya, Shah"
Questions about CSV to JSON
Does my input leave this page?
The tool processes the input in your browser.
How much can I paste?
The input accepts up to one million characters.
Why is a large number rejected?
Numeric values outside the safe JavaScript integer range can lose digits. Put large identifiers in double quotes in JSON, or in single quotes in SQL.
What if the tool shows an error?
Check the error beneath the input. Load the example to see the format this tool expects.