CSV ↔ JSON
Convert between CSV and JSON in either direction
About the CSV ↔ JSON Converter
CSV and JSON are the two most common formats for exchanging tabular data. CSV is compact and supported everywhere from spreadsheets to data pipelines. JSON is the lingua franca for APIs and modern apps. Converting between the two is a constant chore — this tool handles it in one click.
Quoted fields, embedded commas, and escaped quotes are all parsed correctly. With the "first row is header" option enabled, CSV → JSON produces an array of objects keyed by the header row; otherwise it produces an array of arrays.
Frequently asked questions
How big a file can I paste?
A few megabytes is fine. For larger files (tens of MB+), use a streaming command-line tool — pasting that much into a browser textarea will be slow regardless of the converter.
What about nested JSON objects?
CSV is inherently flat. JSON arrays of nested objects can't round-trip through CSV without flattening. Convert nested JSON to a flat structure first, or use a format like JSON Lines for non-tabular data.
Can I use a different delimiter than comma?
Yes — pick semicolon, tab, or pipe from the delimiter dropdown. Useful for European CSV exports (often semicolon-separated) or TSV files.