CSV to JSON converter
Paste a spreadsheet export and get JSON you can feed to an API, a script or a seed file. Quoted cells, commas inside quotes and line breaks inside cells are read correctly.
How it works
- Paste the CSV, header row first.
- Leave the delimiter on Auto, or pick one.
- Press Convert and copy or download the JSON.
How is the delimiter detected?
The first line is checked for commas, semicolons and tabs; the one that appears most is used. You can also set it yourself.
Are numbers kept as text?
With Detect types on, whole and decimal numbers become JSON numbers, true and false become booleans and empty cells become null. Long digit strings such as IDs stay text.
What if there is no header row?
Turn off First row is the header and each row becomes an array of values instead of an object.
Use it from ChatGPT, Claude or your own agent
This tool is also a function an AI agent can call for you. It needs the same free account as this page, nothing else.
Fields
csv(text, required): CSVdelimiter("auto" | "comma" | "semicolon" | "tab", optional): Delimiterheader(true | false, optional): First row is the headerdetect_types(true | false, optional): Detect numbers and booleans
A call that works
POST https://orkosi.com/api/v1/public/tools/csv-to-json/run
Authorization: Bearer <api_key>
{
"input": {
"csv": "name,plan,seats,active\nAna,pro,5,true\n\"Ben, Jr.\",starter,1,false"
}
}Need an account? One request creates it and answers the key: POST https://orkosi.com/api/v1/public/signup. In Claude or ChatGPT, add the Orkosi connector and sign in: https://orkosi.com/api/v1/public/mcp.