文件格式任意转换助手Transfer Any File

离线 · 无上传 · 浏览器本地完成Offline · no uploads · runs in the browser

Excel 转 Word(.xlsx → .docx)——每张表进文档,本地不上传Excel to Word (.xlsx → .docx) offline, one table per sheet

把一张表从 Excel 搬进 Word,常见做法是复制粘贴然后手工对齐列宽,或者截一张图贴进去——前者费时,后者不可编辑。这条链路是 Excel → HTML → Word:读工作簿时把每张表写成 HTML 表格,再作为 altChunk 打进 .docx,Word 打开文件时按这份表格渲染——单元格可以改、可以排序、可以加批注,不是贴进去的一张截图。多个工作表会各自成表,并在前面带一行表名,不用你回去核对它是哪一张。Moving a sheet from Excel into Word usually means paste-and-re-fit the columns, or paste a screenshot that nobody can edit. This route is Excel → HTML → Word: each worksheet is written out as an HTML table and packed into the .docx as an altChunk, which Word renders when the file opens — cells can be edited, sorted and commented, and nothing is a pasted picture. Several sheets each keep their own table, preceded by a line naming it, so nothing has to be checked back against the workbook.

一批转换结果卡片,含文件名、体积与下载入口
一次混合批量,一个 ZIP 下载One mixed batch, one ZIP download

这条链路怎么走How the route runs

Excel (.xlsx)Excel (.xlsx) HTMLHTML Word (.docx)Word (.docx)

共 2 步,由扩展的路径搜索自动选出,中间产物不落盘。2 steps, chosen by the extension's own path search; intermediate results never touch the disk.

会保留什么What carries over

  • 每个工作表一张 Word 表格;工作簿有多张表时,每张表前有一行以表名为内容的标题One Word table per worksheet; in a multi-sheet workbook each table is introduced by a heading carrying the sheet name
  • 单元格里的值按读到的样子呈现,日期单元格先按工作簿自己的格式归一,再渲染,避免 `1/5/24` 这种跨地区会读错的写法Cell values render as read, with date cells normalised from the workbook’s own format first so `1/5/24`-style ambiguity does not survive the trip
  • 合并单元格写成 HTML 的 colspan / rowspan,不是摊平成一片普通格子;行列顺序按原表Merged cells go out as HTML colspan / rowspan rather than flattening into ordinary cells, and rows and columns keep the sheet’s order
  • 每一行都照常写出一行,第一行不会被当作表头吃掉(这一点与 CSV 转 JSON 不同,那里首行变成了键名)Every row is written as a row, the first included — unlike CSV to JSON, where row one is spent on key names

如实说明的限制What it does not do

  • 只带表格正文:图表、条件格式、单元格底色与字体、列宽都不在产物里(HTML 那一步只保留表格本身)Only the table body travels: charts, conditional formatting, cell fills, fonts and column widths are not in the output — the HTML step keeps tables and nothing else
  • 公式不会跟过来——读的是算完之后的值;要保公式就得继续在 Excel 格式之间转(例如 Excel 转 CSV 会明确把公式落成值)Formulas do not follow: what is read is the computed value. Stay inside spreadsheet formats if formulas must survive (and note that Excel to CSV writes values on purpose)
  • 正文是装进 .docx 的 altChunk、由 Word 打开时渲染的,所以产物依赖 Word 对 altChunk 的支持;不处理它的阅读器可能显示不出正文,交付前请在目标环境打开确认The body rides inside the .docx as an altChunk that Word renders when it opens the file, so the result depends on Word supporting altChunk; a reader that does not may show no body text, so open it in the target environment before delivery
  • 表名只是正文里的一行标题,不会变成 Word 的章节导航A sheet name is one heading in the body, not an entry in Word’s navigation
  • 工作表名恰好是 `toString`、`constructor` 这类原型上的名字时,读取按不继承原型的自有属性处理,不会因为「看着像有表」就把空表当成有内容A sheet named `toString` or `constructor` is read through own properties rather than the prototype chain, so a lookalike name cannot make an empty sheet appear to hold content

实操提示Working with it

  • 一批最多 200 个文件,单个文件上限 100 MB;多 sheet 的工作簿转成 CSV 时给的是 ZIP(一张表一个文件),转成 Word 时是同一份文档里的多张表——两条路的产出形状不同,按用途挑Up to 200 files per batch and 100 MB per file; a multi-sheet workbook goes to CSV as a ZIP (one file per sheet) but to Word as several tables inside one document — pick by what the receiver needs
  • 同一个工作簿转成 JSON 是**一份**文件,多张表按表名分组写在里面;要「一张表一个文件」就走 CSV 那条The same workbook converted to JSON stays **one** file, with sheets grouped under their names, so if the downstream system wants one file per sheet, CSV is the route

常见问题Questions people actually ask

转出来的 Word 表格能编辑吗?Is the resulting Word table editable?

能。Word 打开文件时把内嵌的那份表格渲染出来,之后单元格可以改、可以插删行、可以排序、可以加批注。前提是它的 altChunk 处理正常——个别阅读器不处理这一层,那种情况下正文会显示不出来,交付前先在目标环境打开看一眼。要的是「看起来一样但不用改」的交付物,那就走 Excel 转 PDF——但那份 PDF 是渲染出来的图像,没有文字层。Yes. Word renders the embedded table when it opens the file, after which cells can be edited, rows inserted or deleted, sorted and commented — provided its altChunk handling works, and a reader that ignores altChunk shows no body at all, so open it in the target environment before delivery. If you only need something that looks right and will not be edited, that is the Excel to PDF route instead, whose PDF is a rendered image with no text layer.

为什么列宽和颜色都没了?Why did the column widths and colours disappear?

这条链路经手的是 HTML 表格,而它只承载表格的内容与结构;列宽、字体、底色这些属于 Excel 的呈现层,不会由 HTML 那一步带过去,到了 Word 里就由文档主题决定。要留住版式,用 PDF 那条;要在 Word 里重排,转完之后套 Word 的表格样式比还原原件更省事。The route passes through an HTML table, and that carries content and structure only. Widths, fonts and fills belong to Excel’s presentation layer, are not transported by the HTML step, and in Word come out of the document theme. Keep the layout on the PDF route; if the table is going to be re-styled in Word anyway, applying a Word table style after conversion beats trying to restore the original.

工资表要转成 Word,数据会外发吗?If I turn a payroll sheet into Word, does the data leave my machine?

不会。整条链路是浏览器里的 JavaScript:读工作簿、生成表格、打包 .docx 都在扩展的标签页内完成,没有网络请求、没有服务端,也没有外部进程。No. The whole route is JavaScript in the browser — reading the workbook, building the table and packing the .docx happen inside the extension’s tab: no request, no server, no external process.

不需要账号,也不需要联网:装好扩展后点图标,在新标签页里打开工作台,文件从磁盘直接选。No account and no network: install the extension, click its icon, and the workbench opens in a new tab reading straight off your disk.