CSV to JSON

Convert CSV rows into a JSON array of objects.

This tool runs entirely in your browser. The file you choose is never uploaded to a server. Free, with no account required.

Input
CSV file or text
Output
JSON
Category
Document Tools
Status
Available now
Price
Free — no subscription, no account

How to use CSV to JSON

  1. Drop a CSV file or paste rows.
  2. Choose Objects to use the first row as keys, or Arrays to keep every row as-is.
  3. Check or uncheck Pretty-print depending on where the JSON is going.
  4. Download the result, or copy it from the output box.

Frequently asked questions

What happens to duplicate column names?

They are renamed name, name_2, name_3 rather than overwriting each other. The tool lists every rename it made.

Are numbers converted to JSON numbers?

No. Every value stays a string, because CSV carries no type information and guessing would silently corrupt values such as "007" or "1,000".

What if a row has fewer columns than the header?

It is padded with empty strings so the object always has every key.

Is my data uploaded?

No. Parsing and conversion happen entirely in your browser.

Related tools