Convert Word to PDF
Convert a .docx Word document into a PDF — processed entirely on your device, never uploaded.
- Free — No signup required
- Instant — Results update as you type
- Private — Processed in your browser
Sending a .docx file means trusting that the recipient's software will lay it out the way yours did; sending a PDF means it will look the same everywhere. This converter produces that PDF in your browser, and it does so by rendering the document rather than by translating it, which is why it is quick and reliable and also why its output has a specific limitation you should know about.
How it works
Choose a .docx file (the older binary .doc format is not supported, and the tool checks the file's ZIP signature before doing anything, since a .docx is a ZIP archive). Conversion runs in three stages, each with a library loaded on demand:
- mammoth reads the document's XML and produces clean semantic HTML: headings, paragraphs, bold and italic runs, bullet and numbered lists, tables and embedded images. It deliberately ignores Word's visual styling in favour of structure.
- That HTML is placed in an off-screen container 794 pixels wide, the width of an A4 page at 96 DPI, with a one-inch padding, black serif text at 16 pixels and simple table borders. html2canvas paints it to a canvas at 2× resolution.
- The tall canvas is sliced into A4-sized strips, and jsPDF places each strip on a page as a JPEG at 92% quality. The result downloads as your file's name with a
.pdfextension.
The number of pages is reported when the conversion finishes. Nothing is uploaded.
What the output is
The PDF contains pictures of pages, not text. It looks right, prints well and opens anywhere, but the text cannot be selected, searched or read by a screen reader, and the file is larger than a native export because each page is a 2× bitmap. If the recipient needs to copy text, or the document must be archived or indexed, export to PDF from Word or LibreOffice instead; use this tool when you need a quick, dependable copy for sharing or printing and no desktop application is at hand.
What survives, and what does not
Structure comes through: headings, paragraph breaks, lists with their nesting, tables with borders, inline images and basic emphasis. Layout does not. Specifically:
- Fonts, colours, spacing and alignment defined in Word are replaced by the fixed serif style described above, so a carefully designed page will look plainer.
- Page breaks fall where the A4 slices fall, not where Word placed them. A line of text can be cut across two pages; leave a little slack or split the document if that matters.
- Headers, footers, page numbers, footnotes, comments, tracked changes, text boxes, shapes, multiple columns and landscape sections are not rendered.
- Images appear at their natural size capped at the page width.
Documents that are essentially prose (letters, essays, minutes, simple reports) convert well. Brochures, forms and anything built with text boxes or columns will not.
Command-line equivalent
LibreOffice performs a true conversion with a real text layer and Word-compatible layout:
libreoffice --headless --convert-to pdf --outdir out/ report.docx
pandoc report.docx -o report.pdf is an alternative that, like this tool, keeps structure and discards most visual styling, but produces selectable text.
Learn more
Running LibreOffice headless over a folder of documents on a server is a short script, and shell basics covers the loop and the quoting of filenames it needs. The canvas rendering used here is described in HTML5 essentials. To go the other way, PDF to Word rebuilds an editable document from a PDF, and the PDF compressor can shrink the result if the bitmap pages make it heavy.
FAQ
- Will the text in the PDF be selectable?
- No — this tool renders each page of your Word document as an image before building the PDF, so the text won't be selectable or searchable. It's built for quick, reliable sharing and printing, not for producing an editable or searchable PDF.
- Will complex formatting like tables or multiple columns convert perfectly?
- Headings, bold/italic text, paragraphs, bullet and numbered lists, images, and simple tables render well. Complex layouts — multi-column pages, headers/footers, and tracked changes — may not convert exactly as they appear in Word.
- Is my document uploaded to a server?
- No. The conversion happens entirely in your browser — your .docx file never leaves your device.