CSV ↔ JSON Converter
Paste CSV to get JSON, or JSON (an array of flat objects) to get CSV.
How quoted fields are handled
Fields wrapped in double quotes can safely contain commas or line breaks — this tool follows the standard CSV quoting rules both when reading and when writing, so round-tripping data with commas inside a field stays intact.
About the CSV ↔ JSON Converter
This tool converts CSV (comma-separated values) to JSON and JSON back to CSV. It is useful for moving data between spreadsheets, databases and web applications, preparing API payloads, or turning an exported report into a format that code can read.
CSV is a flat table where the first row normally holds column names. Converting to JSON produces an array of objects, one per row, with the column names as keys. Quoted fields can contain commas, line breaks and doubled quotes, and the converter follows those standard rules. When converting JSON to CSV the tool expects an array of objects and uses their keys as headers.
How to use it
- Paste CSV into the CSV box and press CSV → JSON, or paste JSON and press JSON → CSV.
- Check the output for the expected columns.
- Use Copy JSON or Copy CSV to take the result.
- Fix any parse error shown and convert again.
Tips and good to know
- Make sure every row has the same number of columns.
- Spreadsheet exports may use semicolons in some regions; replace them with commas first.
- All values are read as text unless the converter infers numbers, so check numeric columns.
Frequently asked questions
What happens to commas inside a value?
They are fine if the value is wrapped in double quotes.
Can it convert nested JSON?
CSV is flat, so nested objects may be flattened or shown as text.
Is there a size limit?
Only what your browser can handle; very large files may be slow.