Code & web

CSV to JSON converter

Turn a CSV table (Excel, Google Sheets) into JSON, with separator detection.

Embed this calculator on your website

Copy this code and paste it into your page (WordPress, Wix, Webflow, HTML…). It's free: please keep the link to HOD Calc.

How it works

Separator detected automatically (comma, semicolon or tab). Double quotes are handled.

Results are for guidance only and do not replace professional advice.

Worked example

With the default values:

  • CSV (first line = headers)nom;ville;age · Léa;Liège;24 · Noah;Lyon;31 · Inès;Bruxelles;28
  • Convert numbersYes

you get:

  • Rows3
  • Columnsnom, ville, age
  • Detected separator« ; »

Frequently asked questions

How does the “CSV to JSON converter” tool work?

Separator detected automatically (comma, semicolon or tab). Double quotes are handled.

What do I need to enter?

Just fill in: csv, convert numbers. The result updates as you type.

Can you give an example?

CSV (first line = headers): nom;ville;age · Léa;Liège;24 · Noah;Lyon;31 · Inès;Bruxelles;28; Convert numbers: Yes → Rows: 3; Columns: nom, ville, age.

Is this calculator free, and is my data private?

Yes. HOD Calc is completely free with no sign-up. The calculation runs in your browser: nothing you type is sent or stored.