Monu Tools

JSON/CSV変換

JSONをCSVに、CSVをJSONに双方向で変換します。区切り文字の選択、引用符付きフィールドの処理ができます。すべてブラウザ内で処理されます。

JSON ⇄ CSVの使い方

  1. 01

    変換方向(JSONからCSV、またはCSVからJSON)を選択してください。

  2. 02

    データを貼り付けて区切り文字(カンマ、セミコロン、タブ)を選択してください。

  3. 03

    出力パネルから変換結果をコピーしてください。

What it does

This converter turns a JSON array of objects into CSV and parses CSV back into JSON, in both directions. Pick the direction, paste your data, choose the delimiter, and copy the result.

It is handy for moving data between spreadsheets, APIs and config files, and the whole conversion is client-side, so your data stays private.

The JSON shape it expects

It expects JSON as an array of objects, like [{"name":"Mo","age":3}]. The CSV columns are the union of all the keys across the objects, a single object becomes one row, and any nested value is written as JSON text inside its cell.

Quoting and delimiters

It follows the standard CSV quoting rules, so a value that contains the delimiter, a quote or a line break is wrapped in quotes and escaped correctly, and the CSV parser reads those values back without losing data.

You can choose comma, semicolon or tab as the delimiter. Comma is the default and most common; semicolon suits regions where the comma is the decimal separator and spreadsheets expect it; tab produces TSV.

Type inference on the way back

When reading CSV back into JSON, it infers types sensibly: plain numbers and true/false become real JSON values, while a value with a leading zero such as 007 stays as text so identifiers and codes are not mangled.

よくある質問

どのようなJSON形式が必要ですか?

オブジェクトの配列形式です(例:[{"name":"Mo","age":3}])。カラムはすべてのキーの和集合になります。単一オブジェクトは1行になり、ネストされた値はセル内にJSONとして書き込まれます。

値の中のカンマや引用符は処理されますか?

はい。区切り文字、引用符、改行を含むフィールドはCSV標準に従って引用符付きでエスケープされ、CSVパーサーが正しく読み返します。

数値と真偽値は変換されますか?

CSVを読み込む際、数値とtrue/falseは実際のJSON値になりますが、先頭にゼロがある値(007など)は識別子が壊れないようにテキストのまま維持されます。

データはアップロードされますか?

いいえ。変換はすべてブラウザ内で実行されます。貼り付けたデータがお使いのデバイスから出ることはありません。

出典

このツールを埋め込む

このツールをご自身のウェブサイトに追加できます。下のコードをコピーしてください。内容は自動的に最新の状態に保たれます。

<iframe src="https://monu.tools/embed/ja/json-csv-converter" width="100%" height="640" style="border:1px solid #e5e5e5;border-radius:12px;max-width:680px" loading="lazy" title="Monu Tools"></iframe>

関連ツール