Skip to content

Free tools › Documents

CSV to JSON

Numbers as numbers, text as text, every cell with its reference.

More free conversions, where you upload. The Fylane extension does the same work inside any upload form, on its own free share every day.Add to Chrome

How to convert CSV to JSON

  1. Drop the CSV.
  2. Nothing to choose.
  3. Press Convert and download the JSON.

What happens to your file

The CSV is read on Fylane’s servers with its delimiter and encoding detected (comma, semicolon, tab; UTF-8, UTF-16, cp1252), and handed back as a one-sheet workbook: each row a list of cells with a reference (A1, B1 …), a value and a type. A cell that is plainly a number becomes a number; everything else stays the text it was, including 007 and a phone number.

Five thousand rows at most; the report says when the file was cut.

Questions

Where is the list of objects keyed by the header?

Take the first row as the keys and the rest as values — one line of code from this shape, which keeps the header row honest rather than guessing whether the file has one.

Do it once, not on every form

Fixing a file here means downloading it and going back to the form. The Fylane extension does this work inside the form instead, on the file you already have.

And it keeps the result. The next application that asks for a résumé, a cover letter and a photo fills all three from one tap, each one refitted to what that site accepts.

Your files stay in the browser, encrypted, on your machine. Nothing is uploaded to keep them and nothing is sent anywhere to fill a form.

Filmed from the extension: three upload fields on a job application, filled from one tap.

Add to Chrome — freeWhat it does

Do this in code

curl -X POST https://api.fylane.dev/v1/jobs \
  -H "Authorization: Bearer $FYLANE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "file_id": "<file id>",
    "operation": "sheet.parse",
    "options": {
      "format": "json"
    }
  }'

The same operation, sheet.parse — The workbook itself — or a CSV as a one-sheet one: sheets, values, types, formulas, merged ranges, as JSON or by `format` as XML; dates as the serials Excel stores. Upload first with the quickstart; every option is on the operations page. 500 free credits a month, then $5 per thousand.