Skip to content
Toolseta
Runs in your browser

CSV to JSON

Convert CSV to a JSON array with header detection and type inference.

JSON

About CSV to JSON

Convert spreadsheet exports to JSON for APIs, fixtures and scripts. The parser follows RFC 4180, so quoted fields containing commas, quotes and line breaks are handled correctly. The delimiter is detected automatically.

How it works

  1. 1

    Paste CSV or drop a .csv file.

  2. 2

    Choose whether the first row is a header and whether to infer numbers and booleans.

  3. 3

    Copy the JSON or download it as a file.

Frequently asked questions

Which delimiters are supported?

Comma, semicolon, tab and pipe. The most likely delimiter is detected from the first lines.

What happens without a header row?

Each row becomes an array of values instead of an object.

Is my data uploaded?

No. Parsing happens locally in your browser.