Convert CSV data to JSON instantly — or reverse it. Paste text, upload a file, pick your format, and download the result. Everything runs in your browser; no data is sent to any server.

Related tools: JSON to CSV Converter  ·  JSON Formatter


Options
Delimiter
Output format
CSV Input
drag & drop .csv
No file chosen

How It Works

CSV → JSON

  1. Paste CSV text or upload a .csv file (drag and drop supported).
  2. Choose a delimiter — or leave it on Auto-detect and the tool will count occurrences on the first line to find the right separator.
  3. Toggle First row as headers to control whether row 1 becomes object keys or data.
  4. Pick an output format:
    • Array of objects — most common; each row becomes { "col": "val", … }.
    • Array of arrays — compact; rows stay as plain arrays.
    • Nested — groups rows into an object keyed by the first column’s value.
  5. Type inference automatically converts numbers, true/false, and empty/null/n/a cells to proper JSON types.
  6. Hit Convert, review the preview table, then Copy or Download.

JSON → CSV

Switch to the JSON → CSV tab, paste any flat JSON array, choose your output delimiter, and download the result.

Quoted fields with commas inside (e.g. "Lee, James") are handled correctly per RFC 4180.


Related tools: JSON to CSV Converter  ·  JSON Formatter