How CSV ↔ JSON works
Paste CSV to convert it to JSON, or paste JSON to convert it back to CSV. Headers are auto-detected from the first row.
Parses CSV using a streaming tokenizer that respects quoted fields, commas within quotes, and escaped delimiters.
Questions
- Are headers required?
- Yes. The first row is treated as column headers and used as JSON object keys.
- Can I convert JSON back to CSV?
- Yes. Paste a JSON array of objects and the tool will generate CSV with headers derived from the keys.
- How are special characters handled?
- Fields containing commas, quotes, or newlines are wrapped in double quotes following the RFC 4180 standard.