Início
Tom Utilities

Conversor CSV para JSON

Ferramentas XML e YAML

Converta linhas CSV ou TSV em um array JSON usando a primeira linha como nomes das chaves.

Entrada

Resultado

Como usar

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.

Perguntas frequentes

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.