Conversion direction
Input
Output (click to copy)
Frequently Asked Questions
How does JSON to CSV work?
The converter takes a JSON array of objects and extracts all unique keys as CSV headers. Each object becomes one CSV row. Values containing commas or quotes are automatically escaped with double quotes per the RFC 4180 CSV standard.
What JSON structure is supported?
The converter works best with a flat array of objects: [{...},{...}]. Nested objects are converted to their string representation. If you provide a JSON object (not array), the converter looks for an array value inside it.
How does CSV to JSON work?
The first row of the CSV is treated as headers. Each subsequent row becomes a JSON object with the headers as keys. Empty values become empty strings. The output is a pretty-printed JSON array.
What about CSV values with commas?
The converter correctly handles quoted CSV values containing commas, double quotes, and newlines, following RFC 4180 standard. For example: "New York, NY" stays as one field, not two.