---
title: "CSV to JSON Converter Online: Free & Private - WeConvert"
description: "Convert CSV to JSON free. Your files never leave your device. The first row becomes the keys. UTF-8 and Windows-1252 both work."
url: "https://weconvert.app/convert/csv-to-json"
language: "en"
---

> Prices, limits and privacy: https://weconvert.app/llms.txt

# CSV to JSON

The first row becomes the keys, and each row after it becomes one object. Plain numbers become JSON numbers; everything else stays a string.

## Questions about CSV to JSON

### How does CSV to JSON work?

CSV to JSON turns a table into a list of JSON objects, ready for an app, a script or an API. Dates and the words true and false stay strings, empty rows are skipped, and the file is pretty-printed.

### What does the JSON look like?

An array of objects, one per row. A CSV with the header name,age and the row Ada,36 gives \[{"name": "Ada", "age": 36}\]. Empty cells become empty strings.

### Will 007 or long ID numbers be kept?

Yes. Only plain decimal numbers without leading zeros and with at most 15 digits before the point become numbers, so 007, phone numbers starting with +, and long IDs such as card numbers stay strings exactly as written.

### What if my CSV has no header row, or a blank heading?

The first row is always used as the keys, so add a header row first if your file doesn't have one. A blank heading becomes column1, column2 and so on by position, and a repeated heading gets \_2, \_3 added.

## Related

[All CSV conversions](https://weconvert.app/convert/csv)

- [CSV to TSV](https://weconvert.app/convert/csv-to-tsv)
- [TSV to JSON](https://weconvert.app/convert/tsv-to-json)
- [CSV to XLSX](https://weconvert.app/convert/csv-to-xlsx)
- [XLSX to JSON](https://weconvert.app/convert/xlsx-to-json)
- [CSV to ODS](https://weconvert.app/convert/csv-to-ods)
- [XLS to JSON](https://weconvert.app/convert/xls-to-json)
- [ODS to JSON](https://weconvert.app/convert/ods-to-json)
