Word 转 PDF
把 .docx 转换为 PDF,依据其结构重新排版。
这款工具完全在你的浏览器中运行。文件从不上传,你可以在浏览器的网络标签中亲自验证这一点。 亲自验证:打开浏览器的网络标签观察。你会看到一个查询你是否还有剩余任务的小请求,只包含工具名称和一段哈希,绝不会包含文件。
这款工具的作用
This reads a .docx directly: the file is unzipped, its XML is parsed, and the document's structure is laid out afresh by our own typesetter. Headings, paragraphs, lists, tables, images and hyperlinks all come across. What does not come across is Word's own pagination - the text is re-flowed, so page breaks will not always fall where Word put them. For a CV, a letter, a report or a contract that difference is invisible; for a document whose layout is load-bearing, Word's own Save as PDF is the honest answer.
Use it when you need a PDF and Word is not to hand: a CV that an application form insists on receiving as a PDF, a contract you want to send in a format nobody edits by accident, or a document sitting on a phone where installing an office suite is not a realistic step.
工作原理
- Drop your .docx files onto this page. Up to 20 at a time, each up to 100 MB.
- Choose the paper size, orientation and margins. Normal margins are 56 points on every side, which sits close to Word's own default.
- Leave keep hyperlinks on so web addresses become real, clickable annotations rather than blue text that does nothing.
- Leave bookmarks from headings on and the PDF outline builds itself from your heading styles.
- Under advanced options, switch on combine into one PDF if several documents should arrive as a single file.
- Press Convert. Each document downloads as its own PDF unless you asked for them merged.
The conversion is a re-layout, not a re-render. Word's pagination is the product of Word's line-breaking, hyphenation and widow rules, and reproducing it exactly means reproducing all three. Instead the document's structure is measured against the paper you chose and flowed onto pages here, with the same widow and orphan control every conversion on this site uses. A heading is never left stranded alone at the foot of a page, and a single line is never left behind by itself.
Headers, footers and page-margin content are not carried across. The document model behind every conversion here describes flowing content - paragraphs, lists, tables, images - and it has no slot for a running header or a footer that repeats. If your document depends on a letterhead in the header, convert it first and then apply the letterhead with Stamp PDFs, which puts it on every page more reliably than a header ever did.
Fonts are the other honest limit. A Unicode font is embedded by default, about 2 MB of Noto Sans and Noto Sans Mono served from this site's own origin, so curly quotes, accents and Vietnamese diacritics survive. That set does not cover Chinese, Japanese, Korean, Arabic or Indic scripts, because the faces that would are tens of megabytes each. Characters it cannot draw are reported to you rather than quietly swapped for boxes.
Bookmarks build themselves from the heading styles. Heading 1 through Heading 6 become outline entries at the matching depth, so a long report arrives with a working navigation pane that nobody had to add by hand. It is also what makes a batch conversion usable: combine twenty documents into one PDF and each file's headings sit under its own branch of the outline rather than in a flat list.
A legacy .doc is a different format entirely and is not supported. The drop zone accepts one anyway, so it can tell you what to do about it instead of refusing the file with no explanation. Open it in Word, LibreOffice or Google Docs, save it as .docx, and come back.
这款工具做不到的事
- Page breaks are recalculated rather than copied. Text is re-flowed onto the paper you choose, so a break can fall a paragraph earlier or later than Word placed it.
- Headers, footers and other page-margin content are not carried across. Add what you need afterwards with Add page numbers or Stamp PDFs.
- Chinese, Japanese, Korean, Arabic and Indic scripts are outside the embedded font's coverage. Characters that cannot be drawn are reported rather than silently replaced.
- The legacy .doc format is not supported. Save the file as .docx in Word, LibreOffice or Google Docs first.
常见问题
- PDF 会和我的 Word 文档看起来完全一样吗?
- 接近,但不是逐页一致。标题、粗体和斜体、列表、表格、图像和链接都会被再现,随后文本会重新排版到你选择的纸张大小上,所以分页可能比 Word 放置的位置早一段或晚一段。对于简历、信函或报告,这种差异看不出来。对于表单、证书或任何位置本身带有意义的文档,请使用 Word 自带的「另存为 PDF」。
- 我能转换旧的 .doc 文件吗?
- 不能。.doc 是 1990 年代的二进制容器,与 .docx 的 zip 化 XML 毫无共同之处,所以支持它意味着要再做一个转换器,而不是一点小改动。用 Word、LibreOffice 或 Google 文档打开该文件,另存为 .docx,再转换那个。这款工具会短暂接受 .doc,只是为了这样告诉你,而不是不给理由就拒绝它。
- 我的文档用了我自己安装的字体。它会看起来一样吗?
- 不会。文本以 Noto Sans 排版,如果你关闭嵌入则使用 PDF 标准字体。.docx 只写明它想要的字体名称,但通常并不包含这些字体,而替你去获取一款商业字体,是这款工具既做不到、也不应该做的事。因此行长会与 Word 略有不同,这也是分页会移动的原因之一。
- 我文档里的图片会保留吗?
- 会。嵌入 .docx 的图像会被提取,并按其标注的大小放入排版流中;同一张图片多次使用时只保留一份,而不是重复存储。文本框、形状和 SmartArt 则不会:它们是有固定位置的图形,而非流动的内容,而这次转换所经过的模型描述的是流动的内容。
- 转换时我的文档会被上传吗?
- 不会。.docx 在你浏览器内的 Web Worker 中解压和解析,PDF 也在那里生成。这个页面唯一会去获取的是 Noto 字体文件,而且来自本站点自己的源;一旦你的浏览器缓存了它,转换在断网时也能进行。如果你宁愿核实而不是听我们说,就打开网络标签并转换点东西。
- 我能一次转换多个文档吗?
- 可以,一次最多 20 个,默认情况下每个都会生成自己的 PDF。在高级选项中开启「合并成一个 PDF」,它们就会按列出的顺序组装成一个文档,每个文件的标题在书签大纲中各自保留为独立的分支。