CSV to JSON
Turn table rows into JSON arrays or objects.
- 1Choose files
- 2Adjust your options
- 3Preview & save
Free to use. No added watermarks.
Drop a file here
Or choose from your device. Your originals stay unchanged.
CSV,TSV · 20 MB per document (25 MB for PDF) · 50 MB total · max. 20 files
Paste or drag plain text here. Up to 2 million characters. Everything is processed on your device.
Processed on your device. No file upload.
How to use CSV to JSON
- Choose a CSV/TSV file, or paste CSV text.
- Adjust the available options and process your file.
- Review the result, then copy or download it.
When to use CSV to JSON
Choose JSON row arrays to preserve every row, or JSON objects using unique headers from the first row. Values stay strings; choose readable indentation or compact output.
Supported formats and limits
CSV / TSV → JSON. Arrays include the header row. Object output requires unique, non-empty headers. Values remain strings.
Compare rows and header objects
Try our original two-item inventory CSV. Arrays output keeps the header row followed by Notebook and Pencil. Objects output uses item, code and note as keys. The Notebook code remains the string 0012, and its note remains Blue, ruled in a single field.
Headers decide whether objects are suitable
Objects need non-empty, unique column headers. Repeated headers cannot safely name different fields in one object, so choose Arrays when the source has duplicates. If a row contains more columns than the header, Arrays also preserves those extra cells.
Preserve meaning before importing
CSV values stay strings. A numeric-looking postal code keeps its leading zeroes; it does not automatically become a number, date or boolean. Review the preview and choose the JSON shape your receiving application expects. A valid JSON export can still be the wrong shape for that application.
About this tool
Why are my numbers inside quotes?
CSV has no reliable built-in type information. This tool preserves values as strings, including identifiers such as 0012. Convert types deliberately in the receiving application when appropriate.
Which option keeps duplicate column names?
Choose Arrays. It keeps the header row as data and does not turn repeated names into object keys.
Does a comma inside a quoted note create another column?
No. The sample uses a quoted Blue, ruled note, which remains one field. CSV quotes distinguish an embedded comma from a column separator.