PDF Mikata

在 JSON 與 CSV 之間轉換

釋出日期:2026 年 10 月 19 日|最後更新:2026 年 10 月 19 日|關於(日文)

要點
  • 格式
  • 轉換

JSON is convenient for programs but a table suits people totalling things. Conversely, table data needs to be JSON to be handed to a program. Here is how to combine JSON formatted with Format and Validate JSON and the CSV conversion tool.

Flow (JSON → table)

  1. Format the JSON with this tool and check it's correct.
  2. Paste the tidy JSON into "JSON → CSV" of the CSV/JSON conversion tool.
  3. Convert to CSV, save and open in Excel.

Flow (table → JSON)

  1. Copy the Excel table and convert it with "CSV → JSON" in the CSV/JSON conversion tool.
  2. Format the resulting JSON with this tool and check it's correct.
  3. If needed, compress with "Make one line".
Checking that the JSON syntax is correct before converting prevents conversion errors.

JSON shapes that can be converted

A form where data with the same items is lined up is easy to convert to a table. Nested parts, when converted to a table, go into one cell as text.

Benefits of combining

適合

Cautions

示例

Formatted JSON from an API with this tool to see its structure. Finding that the needed items were outside the nesting, it converted straight to CSV and could be totalled in Excel.

Common stumbling blocks

Frequently asked questions

Which tool comes first?

On receiving JSON, first format and check. Then convert.

小結

Use JSON formatting and checking in combination with conversion to CSV.

使用「整理並檢查 JSON」(免費)

搭配使用的工具

如果這篇教程對你有幫助,一點小小的打賞會讓我們非常開心。

打賞(300 日元)贈送禮物(亞馬遜心願單)

此工具的更多教程

檢視全部教程