Data & CSV

CSV to JSON

Turn CSV rows into a JSON array of objects.

CSV to JSON
Esc to restore

Your inputs

First row contains unique column headings. Files stay on this device; maximum 25 MB.

Up to 25 MB per file, 50,000 data rows, 200 columns and 2 million data cells. Fully blank rows and columns are ignored before row, column and cell limits are checked. Individual tools may have smaller result or chart limits.

Results update as you type. Larger files run when you press Update result.

Your result

LOCAL & PRIVATE

Your result will appear here.

Your inputs stay in this browser. Nothing is uploaded or saved.

A clear answer. Here’s how.

Uses the first CSV row as unique object keys. All cell values remain strings, preserving leading zeros and identifiers. Empty cells become empty strings. No data is uploaded.

See a worked example

Worked example

A fixed demonstration, separate from the values you enter above.

Your CSV data
Category,Department,Amount
Design,Studio,120
Writing,Studio,80
Design,Marketing,150
Writing,Marketing,100
Design,Studio,60
Column separator
Comma

Example result

[
  {
    "Category": "Design",
    "Department": "Studio",
    "Amount": "120"
  },
  {
    "Category": "Writing",
    "Department": "Studio",
    "Amount": "80"
  },
  {
    "Category": "Design",
    "Department": "Marketing",
    "Amount": "150"
  },
  {
    "Category": "Writing",
    "Department": "Marketing",
    "Amount": "100"
  },
  {
    "Category": "Design",
    "Department": "Studio",
    "Amount": "60"
  }
]