DOCX to PDF converter
Convert Word documents to PDF
A .docx is a ZIP of XML parts, and this page opens it with Mammoth, a JavaScript library that maps Word paragraph and character styles onto semantic HTML. That HTML is laid out in a hidden element sized to a 210 mm column, html2canvas photographs it at double resolution, and jsPDF writes the capture into A4 pages with 15 mm margins. The result is a faithful picture of the document flow rather than a re-typeset copy: the text is rendered, not embedded, so treat the output as a read-only rendition rather than an editable or searchable PDF.
Key facts about DOCX to PDF converter
| Reader | Mammoth 1.12 maps Word styles onto HTML: headings, lists, tables, bold and italic, inline images, footnotes. |
|---|---|
| Text in the PDF | Rasterised, not embedded. The pages contain a JPEG at quality 0.98, so you cannot select, search or copy text. |
| Fonts | Not carried over. The render is forced to Arial at 12 pt with 1.6 line spacing, whatever the document specified. |
| Page geometry | A4 portrait, 15 mm margins on all sides, regardless of the section setup inside the Word file. |
| Headers and footers | Dropped. Mammoth does not emit them, so running heads and footer text never reach the render. |
| Page numbers | Word field codes for page numbers produce nothing, because the HTML stage has no concept of pages. |
| Page breaks | The capture is one tall bitmap sliced to A4, so a break can land mid-line or mid-row of a table. |
| Hyperlinks | Visible as styled text but not clickable: rasterising the page removes the link annotations. |
| Images | Embedded pictures are inlined by Mammoth as data URIs and appear in the capture at their HTML size. |
| Protected files | A password-protected .docx cannot be opened. Remove the protection in Word first. |
| Capture resolution | html2canvas runs at scale 2, roughly 192 DPI against the 210 mm column, which is screen quality rather than press. |
| File ceiling | The picker rejects anything above 500 MB, and up to twenty documents can be queued in one run. |
What happens to your file
The document is read with file.arrayBuffer() and unzipped by Mammoth inside this tab, so its contents are parsed on your own machine. The intermediate HTML is attached to the page just long enough for html2canvas to photograph it, then removed from the DOM. jsPDF builds the PDF in memory and hands back a Blob that becomes a local download link. No part of the file, and no extracted text, is sent to any server: there is no upload endpoint behind this tool and therefore no stored copy to worry about.
About this tool
- 1
Choose the .docx
Drag the Word file onto the panel or click to browse. Only the modern .docx package is accepted, not legacy .doc.
- 2
Clean the document first
Accept or reject tracked changes and resolve comments in Word, so the render reflects the final text.
- 3
Convert
Mammoth extracts the content, the page renders it and jsPDF writes A4 pages. Long documents take a moment.
- 4
Check the page breaks
Scroll the result before sending it on. Breaks fall where the bitmap is sliced, not where Word put them.
- 5
Download
Save the PDF, or take a batch of converted documents as a single ZIP assembled in the page.
| Input and output | Takes .docx (the Office wordprocessingml type) and returns the PDF as a blob with the application/pdf type, named after the file you dropped in. |
|---|---|
| Engine | Mammoth 1.12.0 converts the .docx to HTML, and html2pdf.js 0.14.0 rasterises that HTML with html2canvas at scale 2 into an A4 jsPDF document. |
| Modes | File mode only: DOCX to PDF has no paste box, so the DOCX arrives through the picker or a drag and drop and the PDF comes back as a download. |
| Batch and caps | Twenty DOCX files per run at 500 MB each; several PDF results are zipped in page memory as converted-pdf-files.zip. |
| Browser and device | The PDF comes from rasterising a hidden DOM node, so the ceiling on DOCX to PDF is device memory, not a browser version - every current browser runs it and phones run out first on a long document. |
- Use Word heading styles rather than manually enlarged bold text. Mammoth works from styles, so a paragraph styled Heading 2 converts correctly while a hand-formatted one does not.
- Wide tables are the usual failure. The render column is 210 mm, so anything designed for landscape gets squeezed; split the table or reduce its columns before converting.
- If you need selectable text in the PDF, export from Word itself. This route always produces page images, which is fine for distribution but not for search or accessibility.
- Headers, footers and page numbers do not survive. Move anything essential, such as a document reference or a confidentiality note, into the body before converting.
- Very long documents build one tall capture in memory before any page is written, so convert a 200-page manuscript on a desktop rather than a phone.
- Produce a fixed rendition of a proposal or contract so the recipient cannot casually reflow or edit the wording.
- Turn a Word draft into a PDF on a machine where Office is not installed and company policy forbids uploading the file anywhere.
- Batch a folder of Word templates into PDFs for distribution, without a single document leaving the laptop.
Related tools
View allWorks well with this4
Other PDF tools12
Updated