Convert data
Paste CSV or JSON. The direction is detected automatically.
Convert CSV to JSON or JSON to CSV in both directions, with correct handling of quoted fields, commas, and nested values.
Paste CSV or JSON. The direction is detected automatically.
CSV to JSON uses the first row as keys and turns each following row into an object, respecting quoted fields that contain commas or line breaks. JSON to CSV collects every key across all objects so no column goes missing, and nested objects are serialized inline.
Values containing commas, quotes, or newlines are quoted and escaped per RFC 4180, so the output opens cleanly in Excel, Google Sheets, and any CSV parser.
You do not need to pick a mode: input starting with [ or { is treated as JSON, everything else as CSV. After converting, copy the result or download it with the right file extension automatically.
Malformed input gets a plain-English error message pointing at the problem instead of a silent bad result.