Home
Tom Utilities

CSV to JSON Converter

XML & YAML Tools

Convert CSV or TSV rows into a JSON array using the first row as the key names.

Input

Result

How to use

Converting CSV to JSON

Paste CSV with a header row, press Convert and the JSON array is generated.

  1. Paste CSV with headers.
  2. Press Convert.
  3. Copy or download the JSON.

Frequently asked questions

How are headers handled?

The first row defines the JSON keys; empty headers become column_1, column_2 and so on.

Are numbers converted?

No, values are kept as strings so that leading zeros are preserved.