CSV ↔ JSON

Convert CSV and JSON. Every cell stays a string.

Added 2026-10-31

What it does

CSV to JSON and JSON to CSV run in this tab. The first row is the header. A repeated header, a row whose column count differs, or a quote that never closes stops the conversion. Every CSV cell becomes a JSON string, so a leading zero and a long digit string stay as typed. The other direction accepts one object or an array of objects. Nested objects become dotted column names, such as address.city. An array is written as JSON text in a single cell, and the page says so. Two paths that would share a column name stop. Choose a comma, semicolon, tab, or pipe. Empty cells become empty strings. The text is not uploaded.

How to use it

  1. Paste CSV or JSON. The text stays in this tab.
  2. Choose the direction and the delimiter. The first CSV row is the header.
  3. Cells stay strings. A nested object becomes dotted columns. An array is one JSON cell.

Common mistakes

  • Numbers stay text. 001 and a long digit string stay strings. This page does not guess types.
  • Nested values share a column. address.city is one column. A path that collides with another field stops.

Conversion stays in this tab. The text is not uploaded.

Related guides

  • JSON integers past 2^53

    Why JSON.parse rounds large integers, and how to keep every digit when you only need to format JSON.

Related tools