CSV to JSON Converter

Paste CSV or open a file and get clean JSON instantly. The parser handles quoted fields, escaped quotes and line breaks inside cells, and detects whether your file uses commas, semicolons, tabs or pipes. Output an array of objects keyed by the header row or plain arrays.

How to use the CSV to JSON Converter

  1. Paste CSV text or open a .csv, .tsv or .txt file.
  2. Leave the delimiter on Auto-detect or choose one.
  3. Choose whether the first row is a header and whether to detect types.
  4. Pick array of objects or array of arrays and an indentation.
  5. Copy the JSON or download it as a .json file.

Features

Benefits

Frequently asked questions

Why are some numbers kept as text?

Values with leading zeros (like postcodes or 007) and integers too large for JavaScript are kept as strings so no information is lost.

What if a row has fewer columns than the header?

Missing values are set to null and a warning tells you how many rows were affected.

Does it handle semicolon CSV from Excel?

Yes. Auto-detect recognises semicolon-separated files, which Excel produces in many European locales.

Related tools