All tools
Development tools

CSV → JSON Converter

Paste or upload a CSV file and get a clean JSON array of objects — auto-detects delimiters, handles quoted fields, strips BOM, download output.

Auto delimiter detection Header row as keys Quoted field support BOM stripping Array of objects Download JSON
Get started free Sign in

Free · No credit card · 50 credits/day

Converter features

🔍

Auto delimiter

Automatically detects comma, semicolon, tab and pipe delimiters — no manual selection needed for most files.

🗝️

Header as keys

Uses the first row as property names in the JSON output. Produces a clean array of named objects.

💬

Quoted fields

Correctly handles fields that contain the delimiter or newlines when wrapped in double quotes.

🔤

BOM stripping

Removes the invisible UTF-8 BOM that Excel adds, which would otherwise corrupt your first column key name.

📥

Download JSON

Download the converted JSON as a .json file or copy it to clipboard — ready to use in your code.

🔢

No-header mode

When no header row exists, auto-generates col0, col1, col2… keys — or lets you specify custom column names.

Frequently asked questions

How does CSV handle fields that contain commas?

Fields containing the delimiter are wrapped in double quotes: "Smith, John",30,Engineer. If the field also contains double quotes, they are escaped by doubling: "He said ""hello""". A compliant CSV parser handles both cases. The auto-delimiter detection identifies whether your file uses comma, semicolon or tab as the separator.

What is a UTF-8 BOM and why does it cause CSV issues?

A BOM is a hidden 3-byte sequence that Excel adds to UTF-8 CSV files. It causes parsers to treat the first column header as a corrupted string instead of the clean name. Our converter strips the BOM automatically so your JSON keys are correct.

What is the difference between JSON array of objects vs array of arrays?

Array of objects: [{"name":"Alice","age":30}] — each row is an object with named keys. Easy to work with in code. Array of arrays: [["Alice",30]] — more compact, no repeated keys. Use objects when the JSON will be consumed by application code.

Can I convert a CSV without a header row?

Yes. If your CSV has no header row, the converter generates numeric keys (col0, col1, col2) or you can provide custom column names. Most data pipelines expect a header row, so if yours is missing, consider adding one before converting.

Related dev tools

More data format converters.

JSON → CSV Converter

Convert back — turn a JSON array of objects into a downloadable CSV file.

JSON Formatter

Format and validate the JSON output after converting from CSV.

YAML ↔ JSON Converter

Convert your JSON output further to YAML for config files.

Convert your CSV to JSON now

Free account. 50 credits per day. Access to 75+ tools instantly.

Create free account →