Got numeric IDs wider than 253−1? Read about JSON number precision for why we keep them as strings.
Parsing rules
- The first row is treated as the header. Subsequent rows become objects keyed by header.
- RFC 4180 quoting: double-quoted fields, internal
""= one quote, newlines allowed inside quotes. - A leading UTF-8 BOM is stripped automatically.
- Type inference: integers, decimals,
true,false, andnullare cast to native JSON types. Big integers (beyond Number.MAX_SAFE_INTEGER) stay as strings to avoid precision loss.
Convert a spreadsheet or Excel file to JSON
Export your spreadsheet as CSV (in Excel: File → Save As → CSV UTF-8; in Google Sheets: File → Download → CSV) and paste the contents into this online CSV to JSON converter. The first row becomes the header — each subsequent row becomes an object keyed by header. Want to go the other way? Use the JSON to CSV converter.
FAQ
What if my file uses semicolons instead of commas?
;. A delimiter option is coming. For now, do a find-and-replace before pasting.