Turn CSV rows into JSON objects, and JSON back into CSV.
Loading CSV ↔ JSON…
How to use CSV ↔ JSON
Open the CSV ↔ JSON tool.
Paste or type your JSON, CSV, XML or YAML into the input field.
The output updates as you type. Adjust the options if you need a different format.
Copy the result, or share the URL to hand the exact input to someone else.
About CSV ↔ JSON
Convert tabular data between CSV and JSON in both directions. CSV becomes an array of objects keyed by the header row; an array of objects becomes CSV. A quote-aware parser handles commas inside quoted fields, and you can switch the delimiter to tab, semicolon or pipe.
What people use it for
Turn a spreadsheet export (CSV/TSV) into JSON for an app.
Flatten an array of JSON objects into CSV for a spreadsheet.
Re-delimit data between comma, tab, semicolon and pipe.
Frequently asked questions
Does it handle quoted commas?
Yes, the parser respects quoted fields and escaped quotes, so embedded commas and newlines are preserved.
Which delimiters are supported?
Comma, tab, semicolon and pipe, selectable for both directions.
Is it private?
Every calculation happens on this page, in your own browser. Your input is never sent to a server and never logged, which also means the tool keeps working when you are offline.