CSV to JSON Converter

Paste CSV from a spreadsheet export and get clean JSON, with a preview of the first rows. Switch the direction to turn JSON back into CSV. Your data stays in your browser.

Runs in your browser. Nothing you type is uploaded.

Your numbers

Result

Converted4 rows

5 columns, comma separated (detected).

Rows
4
Columns
5
Delimiter
comma
All rows
#nameplanmrractivenotes
1Acme NotesPro1240trueLaunched in March, growing
2Pixel FormsFree0falsenull
3ShipFast, LiteTeam980.5trueSays "best tool" in reviews
4Zip CoPro02139trueTwo lines in one cell
JSON
[
  {
    "name": "Acme Notes",
    "plan": "Pro",
    "mrr": 1240,
    "active": true,
    "notes": "Launched in March, growing"
  },
  {
    "name": "Pixel Forms",
    "plan": "Free",
    "mrr": 0,
    "active": false,
    "notes": null
  },
  {
    "name": "ShipFast, Lite",
    "plan": "Team",
    "mrr": 980.5,
    "active": true,
    "notes": "Says \"best tool\" in reviews"
  },
  {
    "name": "Zip Co",
    "plan": "Pro",
    "mrr": "02139",
    "active": true,
    "notes": "Two lines\nin one cell"
  }
]

How it works

Reading CSV
Fields are split on the delimiter. A field in double quotes can hold the delimiter, line breaks, and quotes written twice (""), as the RFC 4180 standard describes.
Detecting the delimiter
Detect tries comma, semicolon, tab and pipe, and picks the one that gives the same number of columns on the first rows.
Types
With types on, plain numbers become numbers, true and false become booleans, and empty cells become null. Numbers with leading zeros, like zip codes, stay text.
Privacy
The conversion runs in your browser. Your file is not uploaded.

Questions

Why did my zip codes or IDs stay as text?

Numbers that start with 0, or are longer than 15 digits, would lose information as numbers. They stay strings so 02139 does not become 2139.

My Excel file uses semicolons. Will it work?

Yes. Excel in many countries saves CSV with semicolons. Detect picks that up, or choose Semicolon yourself.

How are nested objects written to CSV?

CSV is flat, so a nested object or array is written as JSON text inside one cell.

Get CapyLaunch Weekly

New indie launches and the week in AI tools and models, every Monday. Free, and you can unsubscribe anytime.

We send a confirm link first. Privacy

Your launch, this week. Free.

A reviewed listing, a permanent page with a link to your site, and feedback from makers who actually care.

Start my launch →or browse toolsFree to submit. Every listing is reviewed before it goes live.