メインコンテンツへスキップ

JSON CSV 変換

JSON オブジェクトの配列をダウンロード可能な CSV ファイルに変換します。

ブラウザ内で実行され、データが端末外に送信されることはありません完全無料・登録不要
Options
CSV output

The CSV output will appear here.

仕組み

Your JSON is parsed in the browser, then each object becomes a CSV row. The header row is built from the union of keys across all objects, in order of first appearance. Nested objects can be flattened (a user.name key becomes a user.name column), and arrays are serialized as JSON text within the cell.

Output follows RFC 4180: cells containing the delimiter, quotes or line breaks are quoted, and quotes are escaped by doubling.

主な機能

  • Array of objects, single object, or array of primitives
  • Nested objects flattened to dotted-path columns (optional)
  • Comma, semicolon, tab or pipe delimiter
  • Header row optional
  • RFC 4180 quoting and escaping, Excel-safe output
  • Copy, download, upload and clear actions

使い方

  1. Paste JSON or upload a .json file.
  2. Pick a delimiter and whether to flatten nested objects.
  3. Press Convert to CSV.
  4. Copy the CSV or download it as converted.csv.

例

Input:

[
  { "name": "John", "age": 30 },
  { "name": "Sarah", "age": 25 }
]

Output:

name,age
John,30
Sarah,25

よくある質問

What JSON shapes can be converted?
An array of objects (the typical case, where keys become columns), a single object (one row), or an array of primitives (one value column). Nested objects can be flattened into dotted-path columns (e.g. address.city). Top-level numbers, strings and booleans cannot become a table and produce a clear error.
How are missing fields handled?
The columns are the union of all keys across rows. A row that is missing a key gets an empty cell, with no error and no dropped data.
Is my data uploaded anywhere?
No. Conversion runs entirely in your browser. Your JSON and the resulting CSV never leave your device.
Which delimiter can I choose?
Comma (the CSV standard), semicolon (common in European locales), tab (TSV) and pipe. Quoting and escaping follow RFC 4180 regardless of delimiter.
What happens to values containing commas or quotes?
They are automatically wrapped in double quotes, and inner quotes are doubled (""), exactly as the CSV standard requires. Excel, Google Sheets and every CSV library will read them correctly.