Choose a direction
Pick CSV to JSON or JSON to CSV, then paste your data or load a file.
Developer Tools
Convert JSON to CSV and CSV to JSON with proper quoting, delimiters, and clear errors.
Convert between JSON and CSV with proper handling of quotes, commas and line breaks, entirely in your browser. Need to tidy or validate the JSON first? Use the JSON Formatter.
How it works
Pick CSV to JSON or JSON to CSV, then paste your data or load a file.
Choose the delimiter, whether the first row is a header, and how nested values are handled.
Review any warnings, then copy the result or download it with the filename you choose.
Use cases
Turn a JSON array of records into a CSV you can open in Excel or Google Sheets.
Convert an exported CSV into JSON for a script, a test fixture or an API request.
Read a semicolon or tab-separated file and produce a standard comma-separated one.
FAQ
No. Conversion runs entirely in your browser.
Yes. Values containing the delimiter, double quotes or line breaks are quoted correctly when writing CSV, and quoted fields (including doubled quotes and embedded line breaks) are read correctly when parsing it.
A flat CSV cannot hold them, so by default the converter stops and tells you where the nested value is. You can instead choose to write nested values as JSON text inside the cell, which keeps the data intact.
Only if you turn on type detection, and then only for values that print back exactly as written. Leading zeros, trailing decimals and very large numbers stay as text so nothing changes silently.
JSON null becomes an empty CSV cell, since CSV has no null. JSON integers beyond 9,007,199,254,740,991 cannot be represented exactly by browsers, and the tool warns you. CSV rows longer than the header are rejected rather than truncated. Spreadsheet programs may treat cells beginning with = + - or @ as formulas, so review untrusted data before opening it.
Related Tools