CSV to JSON
Converts CSV into a JSON array of objects, using the first row as the column names. Quoted fields, escaped quotes, and both Windows and Unix line endings are handled per RFC 4180. Every value stays a string, so identifiers like "007" and versions like "1.10" are never mangled by automatic type conversion. Runs entirely in your browser — nothing is sent to a server.
Converts CSV into a JSON array of objects, using the first row as the column names. Quoted fields, escaped quotes, and both Windows and Unix line endings are handled per RFC 4180. Every value stays a string, so identifiers like "007" and versions like "1.10" are never mangled by automatic type conversion. Runs entirely in your browser — nothing is sent to a server.
Use cases
- Turning a spreadsheet export into JSON test fixtures
- Feeding CSV records into an API that expects JSON
Examples
Header and one row
name,role Ada,engineer
[
{
"name": "Ada",
"role": "engineer"
}
]FAQ
Is my data sent to a server?
No — this tool runs entirely in your browser.
Why are numbers returned as strings?
CSV has no type information. Keeping values as strings avoids corrupting zero-padded IDs, phone numbers, and version strings.