CSV to JSON Converter

Paste CSV and get a JSON array of objects instantly — the header row becomes the keys. Flip the toggle to convert JSON back to CSV. Runs in your browser, nothing uploaded.

CSV input
JSON output

What does this tool do?

This free CSV to JSON converter turns a CSV table into a JSON array of objects as you type, and converts JSON back to CSV with the reverse toggle. It runs entirely in your browser — nothing you paste is uploaded — so it is safe for any data.

How the conversion works

For example this CSV:

name,age,city
Ann,30,Paris
Cy,41,"Oslo, NO"

becomes:

[
  { "name": "Ann", "age": 30, "city": "Paris" },
  { "name": "Cy", "age": 41, "city": "Oslo, NO" }
]

How to use it

Common uses

FAQ

Does it use the first row as keys?

Yes. The first CSV row is the header; each following row becomes a JSON object keyed by those headers.

Are numbers and booleans detected?

Yes. Values that look like numbers, true, false, or null become the matching JSON type; everything else stays a string. Leading-zero values stay strings.

Does it handle commas inside quoted fields?

Yes. Quoted fields may contain commas, newlines, and escaped double quotes, following the standard CSV (RFC 4180) format.

Is my data uploaded?

No. Everything runs in your browser; nothing you paste leaves your device.

More format converters