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.
Result
5 columns, comma separated (detected).
- Rows
- 4
- Columns
- 5
- Delimiter
- comma
| # | name | plan | mrr | active | notes |
|---|---|---|---|---|---|
| 1 | Acme Notes | Pro | 1240 | true | Launched in March, growing |
| 2 | Pixel Forms | Free | 0 | false | null |
| 3 | ShipFast, Lite | Team | 980.5 | true | Says "best tool" in reviews |
| 4 | Zip Co | Pro | 02139 | true | Two lines in one cell |
[
{
"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.
Your launch, this week. Free.
A reviewed listing, a permanent page with a link to your site, and feedback from makers who actually care.