[Free tools](https://dehumanize.eu/tools/) / CSV to JSON

# CSV to JSON

Paste CSV or spreadsheet cells and get a JSON array with one object per row. The first row becomes the keys and values that look like numbers become numbers.

This page has an interactive tool that runs in the browser. Open it at https://dehumanize.eu/tools/csv-to-json/

Is there personal data in what you are about to paste into an AI chat? [Scrub it first](https://dehumanize.eu/scrub/), also in your browser.

## How it works

### Paste or open

Paste CSV or cells from a spreadsheet, or open a file.

### Check the keys

The first row is used for the keys. Untick the header option to get arrays instead.

### Copy the JSON

Copy the result or download it as a .json file.

## Questions

### How are the keys chosen?

The first row is used for the keys. Empty or repeated column names get a number added so that every key is unique. Untick First row is a header to get arrays instead of objects.

### Are numbers converted?

Values that look like numbers are written as JSON numbers, including European notation such as 1.234,56. Everything else stays a string.

### Does it also read JSON?

Yes, the converter works in both directions. Paste a JSON array and choose CSV, Markdown or Excel / Sheets as the output.

### Is my data uploaded?

No. The conversion runs in JavaScript on this page, on your own computer. There is no account and nothing you paste is sent to a server. Once the page has loaded it keeps working without an internet connection.

## More free tools

- [Table converter](https://dehumanize.eu/tools/table-converter/): Any table in, Markdown, CSV, JSON or HTML out.
- [Excel to Markdown](https://dehumanize.eu/tools/excel-to-markdown/): Copy cells in Excel or Sheets, get a Markdown table.
- [CSV to Markdown](https://dehumanize.eu/tools/csv-to-markdown/): CSV with commas, semicolons or tabs to a Markdown table.
- [Markdown table to Excel](https://dehumanize.eu/tools/markdown-table-to-excel/): Turn a table from an AI answer into spreadsheet cells.
- [HTML table to Markdown](https://dehumanize.eu/tools/html-table-to-markdown/): Table HTML or a copied web table to Markdown.
- [HTML to Markdown](https://dehumanize.eu/tools/html-to-markdown/): HTML or a copied piece of a web page to clean Markdown.
- [Word and Google Docs to Markdown](https://dehumanize.eu/tools/word-to-markdown/): Paste formatted text, get Markdown with headings and lists.
- [Scrub online](https://dehumanize.eu/scrub/): hide emails, phone numbers, IBANs and API keys in text before you paste it into an AI chat.

### Copy tables without the mess

Tables for AI copies any web table as Markdown for AI chats, or as CSV, TSV, JSON and Excel. Merged cells, footnotes and hidden rows are handled for you. Free, no account.

[See Tables for AI](https://dehumanize.eu/tables-for-ai/)

---

Source: https://dehumanize.eu/tools/csv-to-json/
Summary: Paste CSV or spreadsheet cells and get a JSON array with one object per row. Numbers become numbers. Runs in your browser, nothing is uploaded.
Publisher: Dehumanize, support@dehumanize.eu
