Convert between CSV and JSON
Turn a CSV file into JSON, or a JSON array into a CSV. Handles quoted fields and nested values, entirely in your browser.
CSV to JSON, or JSON to CSV.
The conversion updates live as you type. No button to press first.
Get back a clean .json or .csv file.
Frequently asked
Is my data uploaded anywhere?
No. Conversion happens in this tab. Nothing is sent anywhere.
Does it handle commas or quotes inside a CSV field?
Yes. Quoted fields (with embedded commas, newlines, or escaped "" quotes) are parsed correctly, not just split on every comma.
What does "nested keys" do?
A CSV column named "address.city" becomes a nested {"address": {"city": ...}} object in the JSON output, and the reverse when going from JSON to CSV. Turn it off to keep dotted names as flat, literal keys.
What happens to arrays and nested objects when converting JSON to CSV?
Nested objects are flattened into dotted column names; arrays are kept as a single JSON-string cell, since CSV has no native way to represent a list within one field.
Does this work offline?
Yes, once the page has loaded.