JSON ↔ CSV Converter
Free online JSON to CSV and CSV to JSON converter. Paste your data, convert instantly in the browser with no upload required. Supports quoted fields and nested values.
JSON — Input
CSV — Output
Paste JSON or CSV above to convert.
How to Use
Select direction
Choose JSON → CSV to convert a JSON array to CSV, or CSV → JSON to parse a CSV file into a JSON array.
Paste your data
Paste your JSON array or CSV text into the left panel. Conversion happens automatically as you type.
Copy the result
Click the Copy button above the output to copy the result to your clipboard. Use ⇄ Swap to flip the direction using the current output as new input.
FAQ
The input must be a JSON array of objects (e.g. [{"a":1},{"a":2}]). The keys of the first object are used as CSV column headers. A single object (not wrapped in an array) is also accepted.
Yes. The CSV parser handles RFC 4180 quoting: fields that contain commas, quotes, or newlines are wrapped in double-quotes. Escaped double-quotes ("") inside quoted fields are handled correctly.
Nested objects and arrays are converted to their string representation (e.g. [object Object]). For nested data, flatten your JSON before converting.
No. All conversion happens entirely in your browser using JavaScript. Your data never leaves your device.