Code Flick TechnologiesToolscodeftech.com

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

  1. 1
    Pick a direction
    CSV → JSON treats the first row as headers; JSON → CSV expects an array of objects.
  2. 2
    Paste input
    Auto-detect button picks the direction based on whether the input starts with [ or {.
  3. 3
    Copy result
    CSV 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.

Related tools