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

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

Word 文档转换:全部可用目标Word conversions: every available target

Word 文档的价值常常在结构里:标题层级、列表、表格。mammoth 把 .docx 还原成语义 HTML,之后每条路线再决定保留哪一部分。分页、页眉页脚与批注属于 Word 的版式层,离开 Word 后基本不保留。Much of a Word document’s value sits in its structure: heading levels, lists, tables. Mammoth turns the .docx back into semantic HTML, and each route then decides which part to keep. Pagination, headers, footers and comments belong to Word’s layout layer and mostly do not survive leaving it.

工作台空状态:拖放区与格式选择器
拖入、选格式,在你自己电脑上转换Drop, pick a format, convert on your own machine

全部可用目标Every available target

  • MarkdownMarkdown 2 步2 steps

    Word (.docx)Word (.docx) HTMLHTML MarkdownMarkdown

    浏览器本地把 .docx 转成 Markdown:mammoth 读语义结构,内嵌图片以 data URI 保留,不联网、不排队。支持批量与 ZIP。Turn .docx into Markdown in your browser: mammoth reads the semantic structure, embedded images come along as data URIs. Offline, batch capable, ZIP output.

    有专页 →Full page →

  • HTMLHTML 1 步1 step

    Word (.docx)Word (.docx) HTMLHTML

    浏览器本地用 mammoth 读 .docx 的语义结构(标题、列表、粗斜体、超链接、表格),文档里的图片内联成 data URI,最后经 DOMPurify 净化输出单个 .html。不上传、不装 Office,也不读旧版 .doc。mammoth reads a .docx’s structure — headings, lists, emphasis, links, tables — inline images become data URIs, DOMPurify sanitises the single .html. No .doc.

    有专页 →Full page →

  • PDFPDF 2 步2 steps

    Word (.docx)Word (.docx) HTMLHTML PDFPDF

    Word → HTML → PDF:mammoth 读语义结构后整页栅格化,按 A4 切片。文字层没有,版式与 Word 打印不尽相同,先预览再下载。Word → HTML → PDF: mammoth reads the structure, the page is rasterised onto A4. No text layer, and the layout is not Word’s own print output — preview first.

    有专页 →Full page →

  • Excel (.xlsx)Excel (.xlsx) 4 步4 steps

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

    Word 表格经 HTML、JSON、CSV 三步落进一张工作表:数字只在字节能逐字回来时才是数字,16 位编号保持文本。两份表格会撞闸。全程离线。A Word table travels HTML → JSON → CSV into one worksheet, where a number returns only if its bytes do and 16-digit ids stay text. Offline, no uploads.

    有专页 →Full page →

  • CSVCSV 3 步3 steps

    Word (.docx)Word (.docx) HTMLHTML JSONJSON CSVCSV

    mammoth 先把文档变成 HTML,表格里第一行给出列名、其余每行一条记录;值按写下的字符保留。两份表格会撞闸。全程离线。Mammoth turns the document into HTML, the first table row supplies keys and values stay exactly as typed. Two tables in one file stop it. Offline.

    有专页 →Full page →

  • 纯文本 (TXT)plain text (TXT) 2 步2 steps

    Word (.docx)Word (.docx) HTMLHTML 纯文本 (TXT)plain text (TXT)

    在浏览器里把 .docx 读成纯文本:有序列表按位置重新编号、表格写成制表符分隔的行、链接以 [url] 附在文字后。全程离线。Headings become lines, ordered lists are renumbered by position, tables come out tab-separated and links follow as [url]. Offline, in the tab.

    有专页 →Full page →

  • JSONJSON 2 步2 steps

    Word (.docx)Word (.docx) HTMLHTML JSONJSON

    mammoth 出 HTML 再取表格:一张表变对象数组,多张表按位置与文档小标题配对分组(配不上时回落成 SheetN),没表时依次试代码块与整份正文。全程离线。Mammoth to HTML, then the tables: one becomes an array of objects, several group by heading position (or SheetN), else the first text found is parsed.

    有专页 →Full page →

  • PNGPNG 2 步2 steps

    Word (.docx)Word (.docx) HTMLHTML PNGPNG

    在浏览器里把 .docx 渲染成一张 PNG:先由 mammoth 生成语义化 HTML,再整页画到画布上导出。可指定最长边,全程不上传。A .docx renders through HTML to one long PNG, sized by the longest edge you set. Pixels, not selectable text; nothing is uploaded.

    有专页 →Full page →

  • JPEGJPEG 3 步3 steps

    Word (.docx)Word (.docx) HTMLHTML PDFPDF JPEGJPEG

    文档先由 mammoth 变成带样式的 HTML(内嵌图片会读成 data URI 留在页面里),再按 A4 切成无损片段、逐页编码成 JPEG;多页出 ZIP。全程离线。Mammoth turns the document into HTML — embedded pictures arrive as data URIs — then it is sliced into A4 pages and JPEG-encoded one page at a time.

    有专页 →Full page →

  • WebPWebP 3 步3 steps

    Word (.docx)Word (.docx) HTMLHTML PDFPDF WebPWebP

    三步:mammoth 出 HTML,浏览器按 A4 渲染成无损 PNG 切片写进 PDF,最后逐页画白底编码成 WebP。只有最后一步有损。全程离线。Three steps: mammoth to HTML, A4 render as lossless PNG slices in a PDF, then each page onto white and encoded to WebP. Only the last step is lossy.

    有专页 →Full page →

这个来源格式的共同限制What holds for every target from this source

  • 合并单元格、脚注、批注、修订痕迹与文本框没有稳定的 HTML 对应物,会被降级、合并或丢弃Merged cells, footnotes, comments, tracked changes and text boxes have no stable HTML counterpart, so they are flattened, merged or dropped
  • 页眉、页脚、页码与 Word 自己的分页不进入结果;PDF 与图片路线按浏览器重新排版Headers, footers, page numbers and Word’s own pagination do not enter the result; PDF and image routes reflow in the browser
  • 嵌入的图片来自文档内部,可以保留;链接到外部地址的图片不会下载,按张数披露Images embedded inside the document survive; images linked to an external address are not downloaded and are counted
  • 输出文档的字体、页边距与行距由目标格式决定,不沿用原 .docx 的主题Fonts, margins and line spacing in the output belong to the target format, not to the original .docx theme

常见问题Questions people actually ask

Word 转 PDF 会保留原来的分页吗?Will Word to PDF keep the original pagination?

不会。文档先还原成 HTML,再由浏览器排版并按 A4 切片;分页取决于浏览器对这份 HTML 的排版,不读取 Word 的页面设置。No. The document is rebuilt as HTML and laid out by the browser before being sliced into A4 pages. Pagination follows the browser’s layout of that HTML, not the page setup stored in Word.

批注和修订会被带过去吗?Do comments and tracked changes travel?

不会。它们属于 Word 的审阅层,HTML 没有对应物,转换前就被丢弃。若这些内容重要,先在接受修订、导出批注之后再转。No. They belong to Word’s review layer, which HTML has no counterpart for, and they are dropped before conversion. If they matter, accept the changes and export the comments first.

为什么 Word 转 Excel 只看到表格?Why does Word to Excel show only the tables?

因为 Excel 只有单元格。转换器读取文档里的表格,标题与段落没有坐标可以落。文档没有表格时,它会尝试把一段 JSON 代码读成数组,否则明确报错。Because Excel only has cells. The converter reads the document’s tables, while headings and paragraphs have no coordinates. Without a table it tries a JSON code block, and otherwise fails explicitly.

能批量转换一批 Word 文件吗?Can a batch of Word files be converted together?

能。最多 200 个文件、单个 100 MB;整批共用一个目标格式,每个文件独立走路线,一个失败不会阻断其余文件。结果可以逐个下载或打成一个 ZIP。Yes. Up to 200 files at 100 MB each, one target for the batch, and every file walks the route independently so one failure does not stop the rest. Results download one by one or as a ZIP.

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

最后更新 2026-10-21Last updated: 2026-10-21