Convert a .docx document into a PDF, with headings, lists, tables, and images preserved. Nothing ever leaves your browser.
A Word to PDF converter takes a .docx file and turns it into a PDF you can download — useful whenever a document needs to look the same everywhere it's opened, instead of shifting around depending on which word processor and fonts the reader has installed.
This one runs the whole conversion inside your browser: mammoth.js reads the .docx file and turns it into HTML, and html2pdf.js then renders that HTML into a PDF — your file is never uploaded anywhere. Use it when you need to submit a resume or report as a PDF instead of an editable Word file, archive a finished document, or send something that will render identically on any device.
mammoth.js reads the .docx file's underlying XML and converts it into clean HTML, entirely inside your browser — no part of the document is ever sent to a server. html2pdf.js (built on html2canvas and jsPDF) then takes that rendered HTML and turns it into a PDF, page by page, again without anything leaving your device. Close the tab and everything is gone, because nothing was ever uploaded in the first place.
Headings, bold and italic text, bullet and numbered lists, tables, and images all come through well, since mammoth converts them into their native HTML equivalents and the preview renders them with ordinary browser styling.
A few things worth knowing: because this is an HTML-based conversion rather than a pixel-perfect Word rendering engine, complex multi-column layouts, some custom fonts, and unusual manual spacing may shift slightly between the original document and the PDF. And only the modern .docx format is supported — the older binary .doc format uses a completely different file structure that mammoth can't read directly, so a .doc file needs to be re-saved as .docx first (Word and Google Docs can both do this with "Save As").
A simple resume section, before and after:
No — the entire conversion happens locally in your browser using mammoth.js and html2pdf.js. Your file is never sent anywhere.
The older binary .doc format (from Word 97-2003) uses a completely different internal structure than .docx, and the library this tool relies on only reads .docx. Re-save the file as .docx in Word or Google Docs ("Save As" → Word Document) and upload it again.
Headings, bold/italic text, bullet and numbered lists, tables, and images are preserved well. Complex multi-column layouts, some custom fonts, and precise manual spacing can shift slightly, since the conversion goes through HTML rather than rendering the original Word layout pixel-for-pixel.
Yes — images are embedded directly into the preview and the resulting PDF, and tables keep their rows, columns, and cell content.
There's no hard limit, since nothing is uploaded — the only ceiling is your own browser's available memory. Very large or complex documents simply take longer to convert and export, and the progress indicator will show while that's happening.