All tools Developer

CSV to JSON

Convert CSV to a JSON array, with header row and delimiter options.

Runs in your browser. Nothing you open or type here is uploaded.

How to use

  1. Paste your CSV into the input field.
  2. Choose the delimiter: comma, semicolon or tab.
  3. Leave “First row is headers” checked if the first row names the columns.
  4. Convert, then copy the JSON or download it as a .json file.

Details

The tool parses CSV text and returns a JSON array. With the header option on, each row becomes an object keyed by the header names; with it off, each row becomes a nested array in the same order as the input. Quoted fields follow RFC 4180, so commas, double quotes and line breaks inside double quotes stay part of the field instead of splitting it. Use it to prepare spreadsheet data for APIs, configuration files and test fixtures.

  • All values stay strings. Numbers and dates are not converted, so 36 comes out as "36", not 36.
  • Unclosed quotes or the wrong delimiter are the usual parse failures; the tool reports the input as unparseable rather than guessing.

Common questions

How are quoted fields handled?

Fields wrapped in double quotes follow RFC 4180 — embedded commas, quotes, and newlines stay inside the field.

What if my first row isn't headers?

Uncheck “First row is headers” and each row becomes a JSON array instead of an object.

Is my data uploaded?

No — the conversion runs entirely in your browser. Nothing leaves your device.