📊 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: Set "Output", then click "Copy". Drag-and-drop files is supported.
第一行会当作表头吗?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.
代码或数据会被上传吗?Is my code or data uploaded?
不会。「Excel 转 JSON」完全用 JavaScript 在本地运行,适合处理含有密钥、内部接口等敏感内容的数据。No. The Excel to JSON runs entirely in local JavaScript, so it is safe for data containing keys or internal endpoints.
「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.