🔍

首页Home › 开发工具Developer Tools

📊 Excel 转 JSONExcel to JSON

在线把 Excel(.xlsx/.xls)、CSV 或 ODS 文件的第一个工作表转换为 JSON,支持对象数组或二维数组,基于 SheetJS,本地解析不上传。Convert the first sheet of an Excel (.xlsx/.xls), CSV or ODS file to JSON (array of objects or 2D array). Uses SheetJS, parsed locally without uploading.

使用说明与常见问题How-to & FAQ

「Excel 转 JSON」是什么?What is the Excel to JSON tool?

在线把 Excel(.xlsx/.xls)、CSV 或 ODS 文件的第一个工作表转换为 JSON,支持对象数组或二维数组,基于 SheetJS,本地解析不上传。Convert the first sheet of an Excel (.xlsx/.xls), CSV or ODS file to JSON (array of objects or 2D array). Uses SheetJS, parsed locally without uploading.

如何使用「Excel 转 JSON」?How do I use the Excel to JSON tool?

在「Excel 转 JSON」中,选择或拖入文件,按需设置「格式」等选项,然后点击「复制」按钮即可。In the Excel to JSON: Choose or drop your files, set "Output", then click "Copy".

第一行会当作表头吗?Is the first row used as headers?

对象数组模式下,第一行作为字段名;二维数组模式保留所有行。In array-of-objects mode the first row becomes the field names; 2D-array mode keeps all rows as-is.

日期单元格怎么输出?How are date cells exported?

Excel 中格式为日期的单元格会输出为 "YYYY-MM-DD" 字符串(带时间时为 "YYYY-MM-DD HH:MM:SS"),而不是 Excel 内部的序列号。Cells formatted as dates are exported as "YYYY-MM-DD" strings ("YYYY-MM-DD HH:MM:SS" when a time is present) instead of Excel serial numbers.

文件会上传吗?Is the file uploaded?

不会,使用 SheetJS 在浏览器本地解析。No, it's parsed locally in your browser with SheetJS.

「Excel 转 JSON」免费吗?需要注册吗?Is the Excel to JSON free? Do I need an account?

「Excel 转 JSON」完全免费,无需注册或安装,打开网页即可使用,手机和电脑都能用;输入的内容只在你的浏览器本地处理。The Excel to JSON is completely free with no sign-up or install and works on phones and desktops; what you enter is processed only in your browser.

相关工具Related tools

📈 JSON 转 ExcelJSON to Excel🔢 十六进制转十进制Hex to Decimal Converter🔢 十进制转十六进制Decimal to Hex Converter🔢 二进制转十进制Binary to Decimal Converter🔢 十进制转二进制Decimal to Binary Converter🔢 二进制转十六进制Binary to Hex Converter🔢 十六进制转二进制Hex to Binary Converter🔢 二进制转八进制Binary to Octal Converter🔢 十六进制转八进制Hex to Octal Converter🔢 八进制转二进制Octal to Binary Converter🔢 八进制转十六进制Octal to Hex Converter🔢 十进制转八进制Decimal to Octal Converter

← 全部工具All tools