๐Ÿ”„

CSV to JSON Converter

Convert CSV to JSON and JSON to CSV. Handles quoted fields, custom delimiters and header rows.

Built and maintained by Abdur Rehman ยท Free, no sign-up

Loading CSV to JSON Converterโ€ฆ
๐Ÿ”’PrivateRuns in your browser โ€” nothing is uploaded.
โšกFastInstant results, no waiting in queues.
๐Ÿ’ธFreeNo sign-up, no watermark, no limits.
๐Ÿ“ฑAnywhereWorks on phone, tablet and desktop.

How to use the CSV to JSON Converter

  1. Paste CSV or JSON
  2. Choose the direction and delimiter
  3. Copy or download the result

CSV to JSON and back

Paste CSV or open a .csv file to get a JSON array, or switch to JSON โ†’ CSV to go the other way. The delimiter is detected automatically โ€” comma, semicolon, tab or pipe โ€” and quoted fields containing commas or line breaks are handled correctly. Options: first row is header (gives an array of objects) and detect numbers & booleans (so 22 becomes a number, not "22"). Copy or download the result.

Example

name,age / Ayesha,22 โ†’ [{"name": "Ayesha", "age": 22}]. Values with leading zeros, such as phone numbers starting 0300โ€ฆ, are kept as text.

From Excel

Save the sheet as CSV (File โ†’ Save As โ†’ CSV), or simply copy the cells โ€” Excel copies them as tab-separated text, which is detected automatically โ€” and paste here.

Government filing portals

Tax portals such as India's GST and income tax systems need JSON in their own exact format, created by their official offline utilities (for example the GST Returns Offline Tool). Generic JSON from this page won't upload there โ€” use the official tool for filing.

In Python

json.dumps(list(csv.DictReader(open("data.csv")))), or with pandas, df.to_json(orient="records"). Once this page has loaded, your data never leaves your device.

๐Ÿ’ป Keep exploring Developer Tools

See all Developer Tools