Skip to content

CSV to JSON

Convert CSV data to JSON instantly: array of objects or arrays, automatic delimiter detection and optional number/boolean detection.

In-browser · no upload CSV → JSON

Runs entirely in your browser. Your files and text are not uploaded to our servers.

To convert CSV to JSON, paste your CSV or open a .csv file. The JSON appears instantly on the right. With “First row is a header” ticked, each row becomes an object whose keys are the column names; untick it for an array of arrays.

How to use the CSV to JSON

  1. 1

    Paste or open CSV

    Comma, semicolon, tab or pipe delimited.

  2. 2

    Set options

    Header row, type detection, pretty printing, delimiter.

  3. 3

    Copy or download

    Copy the JSON or save data.json.

Features

  • Proper CSV parsing

    Quoted fields, commas inside quotes, escaped quotes and line breaks in cells.

  • Delimiter auto-detect

    Handles European semicolon CSVs.

  • Type detection

    Numbers, true/false and empty cells as null.

Examples

name,age,active\nAsha,31,true

becomes

[{ "name": "Asha", "age": 31, "active": true }]

Privacy and file handling

Where it runs
Runs in your browser
File size limit
20 MB per file

Runs entirely in your browser. Your files and text are not uploaded to our servers.

Limitations

  • Very large files (tens of MB) may be slow to display; use download instead of copy.
  • Leading zeros (e.g. PIN codes) are kept only if type detection is off.

Frequently asked questions

How do I keep values like 007 as text?

Untick “Detect numbers & true/false”; every value is then a string.

Is my data sent anywhere?

No. Conversion happens in your browser.

Was this tool helpful?

Thanks for the feedback.

Last reviewed