a11y.skipToMainContent
1

XLSX 给 JSON

将任何 Excel 工作表转换为 JSON —— 由标题行键入的对象数组, 或无标题的数组数组 .

Drag a .xlsx file here or

Was this tool helpful?
Send output to:
Advertisement

How to use XLSX to JSON

  1. 丢弃电子表格文件 .
  2. 选择工作表、输出格式(对象对数组)和缩进.
  3. 复制JSON或下载为.json.

{姓名}是什么来着?

用于将电子表格数据输入API、固定装置或任何更喜欢JSON的系统。 选择工作表、输出格式和缩进。 “ 对象阵列” 模式将第一行视为字段名称;“ 阵列阵列” 保留了原始单元格网格。

Advertisement

FAQ

如果细胞有混合类型呢?
以工作表JS类型导出单元格 – 数字为数字,日期为日期对象,字符串为字符串 。 从对象输出中省略出空单元格.
我的Excel文件上传到服务器了吗?
没有 所有转换都发生在您的浏览器中 。 您的 Excel 文件从不上传—— 它完全解析在您的设备上 .
我能生成什么JSON结构?
选择一个对象阵列(标题行成为密钥)或数组阵列(没有标题). 两种选项都出现在转换前 .

Related tools

Author

SC
Sarah Chen"The Data Whisperer"

Data Analyst & CSV Specialist

Sarah has spent more than a decade wrangling spreadsheets, debugging CSV exports, and teaching teams how to make data work for them. She previously led data-quality initiatives at a fintech unicorn, where she reduced reporting errors by 40 percent through automated validation pipelines. When she is not optimizing queries or writing about data tooling, you will find her mentoring junior analysts at local bootcamps and speaking at data literacy meetups.

Advertisement