CSV to JSON

Turn table rows into JSON arrays or objects.

  1. 1Choose files
  2. 2Adjust your options
  3. 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

    1. Choose a CSV/TSV file, or paste CSV text.
    2. Adjust the available options and process your file.
    3. 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.

    Your country / region

    The flag reflects approximate network location, not nationality or where your files are stored. VPNs and travel can change it. Choose another flag or a neutral globe.

    Your display choice stays on this device. We use Vercel’s country header; no GPS or third-party location lookup.

    Help make this tool better

    Report a problem, suggest a feature or tell us what could work better. No name or email needed.

    0 / 2000

    Sent: your message, type, page path and time. No board, files, name, email, device details or IP is included in the stored report. Please leave out personal details, passwords and private links. Hosting services still handle normal network requests.

    Reports expire after 7 days and are eligible for scheduled deletion. Busy cleanup queues can take longer. No public feedback list.