PDF Mikata

如何把 Excel 轉換成 JSON

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

要點
  • 選擇
  • 選擇 JSON
  • 複製

You want to turn an Excel table into JSON for use in programs and web services. Choosing "JSON" as the format in Convert Excel to CSV or JSON converts it to JSON with the first row as item names.

步驟

  1. With "Choose one .xlsx Excel file", choose the file.
  2. Choose the "Sheet".
  3. Under "Format", choose "JSON".
  4. The JSON appears under "After conversion".
  5. Use it with "Copy result" or "Save as file".
The first row becomes the item names. Sheets with headings in the first row suit it.

Conversion example

Excel table:

name | age

Yamada | 30

Sato | 25

JSON: two records, each with the items "name" and "age", lined up.

Excel shapes that suit

Tips for tidying before converting

Tidying the JSON afterwards

Formatting the JSON with the JSON formatting tool makes it readable and also checks its syntax.

適合

示例

Managed a product list in Excel. Converted it to JSON and used it as the product list data for a website.

Common stumbling blocks

Frequently asked questions

Are numbers output as numbers?

Yes. Numeric cells are output as numbers.

小結

Just choose "JSON" as the format. The first row becomes item names, so use it with tables that have headings.

使用「把 Excel 轉換成 CSV 或 JSON」(免費)

搭配使用的工具

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

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

此工具的更多教程

檢視全部教程