Z

How to Convert CSV to JSON (Step by Step)

Convert a CSV file or text into JSON in your browser — step by step, with a free CSV to JSON converter.

Turning tabular CSV into nested JSON is a one-step job:

  1. 1

    Open the converter

    Open the CSV to JSON tool.

  2. 2

    Paste your CSV

    Paste your CSV (including the header row) into the input.

  3. 3

    Get JSON

    Each row becomes a JSON object keyed by the header. Copy or download the result.

Do it now

Frequently asked questions

How are CSV columns mapped to JSON?

The first (header) row supplies the keys, and each subsequent row becomes an object with those keys. Empty cells become empty strings.