How to use CSV to JSON Converter — Free Online, Runs In Your Browser
- 1Paste your CSV, with the column names on the first line.
- 2Pick your indent size, and optionally sort the keys alphabetically.
- 3Copy the result, or download it as a file.
About CSV to JSON
Going from a spreadsheet export to something an API will accept normally means writing a throwaway script. This tool does it in the browser: paste the CSV, read the JSON.
The type handling is what makes the output actually usable. A naive converter turns every cell into a string, so you end up with "42" where you wanted 42 and "true" where you wanted a boolean, and then have to clean it up anyway. Here numeric and boolean cells are converted to their real JSON types, and empty cells become null rather than empty strings.
The parser handles quoted fields properly, so exported data containing commas inside addresses or descriptions does not shift every subsequent column.