CSV ↔ JSON
Paste CSV (with header) and see the JSON array of objects, or paste a JSON array and see CSV. Auto-detects which way.
100% in your browser. Files never uploaded.
[
{
"name": "alice",
"age": "30"
},
{
"name": "bob",
"age": "25"
}
]How to use
- 1Pick a directionCSV → JSON treats the first row as headers; JSON → CSV expects an array of objects.
- 2Paste inputAuto-detect button picks the direction based on whether the input starts with [ or {.
- 3Copy resultCSV is RFC 4180-style with proper quoting; JSON is pretty-printed with 2-space indent.
FAQ
Does it auto-type values?
No. Numbers and booleans stay as strings on CSV → JSON. Type-coercion is opinionated and easy to get wrong; we keep it lossless.
How does JSON → CSV handle missing keys?
It collects the union of keys across all objects as the header, and leaves cells empty for missing values.