ホーム
Tom Utilities

CSVからJSONへの変換

XML と YAML のツール

先頭行をキー名として、CSV/TSVの行をJSON配列に変換します。

入力

結果

使い方

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.

よくある質問

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.