CSV ↔ JSON Converter
Convert correctly quoted CSV data to JSON, or JSON arrays to CSV, with explicit header and scalar-type handling.
Loading CSV ↔ JSON Converter...
How to use
Choose a direction and delimiter. CSV to JSON can use the first row as object keys and optionally infer numbers, booleans, and null. JSON to CSV accepts an array of objects or arrays.
Example
Input
name,note
ليلى,"hello, world"
Output
[
{
"name": "ليلى",
"note": "hello, world"
}
]
Limitations
Type inference is conservative but can still change values such as numeric-looking identifiers. CSV opened in spreadsheet software may interpret cells as formulas unless protection is enabled.
Frequently Asked Questions
Are quoted commas and newlines supported?
Yes. Papa Parse handles quoted fields and embedded separators or line breaks.
Why protect spreadsheet formulas?
Cells beginning with formula characters can execute when opened in some spreadsheets; protection prefixes them safely on CSV export.