What Is the JSON to CSV Converter?
Convert JSON data to CSV format and vice versa. Nested objects become dotted columns and come back as objects; quoted commas, quotes and line breaks follow RFC 4180, and comma, semicolon, tab or pipe files are supported.
Why Use This Tool?
Moving data between APIs (which typically use JSON) and spreadsheet tools (which use CSV) is a common workflow. This tool converts records both ways in one click.
How to Use This JSON CSV Converter
- Paste your JSON or CSV data — Enter the data you want to convert into the input field. For JSON, use an array of objects. For CSV, use a standard comma-separated format with a header row.
- Select the conversion direction — Choose JSON → CSV or CSV → JSON depending on your needs.
- Configure options — There are no options: JSON → CSV quotes every field and uses commas; CSV → JSON expects a comma-separated file with a header row.
- Copy or download the result — Click Copy and paste the result where you need it.
Worked example: 12 JSON records through CSV and back
Until October 12, 2026 this converter wrote nested objects as [object Object], split quoted line breaks into extra rows, turned 02134 into 2134 and read only commas. It now uses Papa Parse with dot-notation nesting and careful type detection. We ran 12 JSON records through JSON → CSV → JSON in Chromium with the default options; 11 came back identical, and the twelfth differs only where CSV has no way to say a value is missing:
| Input | Result |
|---|---|
| Nested object {"user":{"addr":{"zip":"0150"}}} | columns user.addr.zip …, then the same object back |
| Array ["a","b"] | columns tags.0, tags.1, then the array back |
| Text with a comma, a quote ("hi") or a line break | quoted per RFC 4180, back unchanged |
| "02134", "0x1A", " padded " | kept as text both ways (no leading zeros or hex read as numbers, spaces kept) |
| -1.5, 2e21, 0 | numbers both ways |
| "12345678901234567890" | kept as text: above 2⁵³ a number would lose digits |
| true / false | booleans back; "true story" stays text |
| Emoji and CJK text | unchanged |
| Rows with different keys | columns for every key; absent values come back as "" because CSV cannot tell "missing" from "empty" |
- Parsing is Papa Parse. CSV is read and written with Papa Parse 5.4.1, served from this site. On 12 awkward files (quoted line breaks, doubled quotes, semicolon and tab files, empty and leading-space cells, CRLF endings) it produced the same rows as Python's csv module, 12 of 12.
- Only real numbers become numbers. With "Numbers and true/false" on, a cell turns into a number only if it is written the way JSON writes numbers and survives the trip: 02134, 0x1A, 1,000 and 20-digit IDs stay text. Turn the option off to keep every cell as text.
- Nested keys use dots. With "Nested keys as a.b" on, nested objects and arrays become dotted column names (tags.0), and those names are rebuilt into objects when converting back. Turn it off to keep nested values as JSON text in one cell, or to keep a column literally named a.b.
Sources
Checked on .
Related tools
- If the source data is XML rather than JSON or CSV, the XML to JSON converter flattens it into nested JSON you can then convert here.
- For deeply nested JSON where the standard converter would stringify the inner objects, use the deep JSON to CSV flattener instead — it walks the full tree and emits dot-notation columns.
- Filter the CSV down to the rows you actually need with the CSV Row Filter before the conversion step here.
- If the CSV is destined for a SQL database, hop over to the CSV to SQL converter once you have a clean CSV in hand.
- Working with a CSV that has duplicates, stray whitespace, or inconsistent null markers? Run it through the CSV Cleaner before the conversion step here.
- If the source is a PDF report rather than JSON or CSV, start with the PDF to XLSX converter to extract tables first, then run further transforms here.
Frequently Asked Questions
📖 Learn More
Related Article Free JSON Tools for Developers →Built by Derek Giordano · Part of Ultimate Design Tools