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
Open the converter
Open the CSV to JSON tool.
-
2
Paste your CSV
Paste your CSV (including the header row) into the input.
-
3
Get JSON
Each row becomes a JSON object keyed by the header. Copy or download the result.
Do it now
CSV to JSON Converter
Convert CSV (or TSV / pipe-separated) data to JSON. Auto-detects delimiter, RFC 4180 compliant.
Open toolJSON to CSV Converter
Convert a JSON array of objects to CSV. Optional dot-path flatten for nested data.
Open toolCSV to XML Converter
Convert CSV (or TSV / pipe-separated) data to XML. Configurable root and record element names. Header row becomes column tags.
Open toolFrequently 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.