Word to PDF

Convert a Word (.docx) document to PDF in your browser: text, headings, lists, tables and pictures, with a live preview. Not an exact copy of Word layout.

About this tool

Word to PDF turns a .docx document into a PDF without uploading it. The file is read in your browser with mammoth.js, which extracts the document's content and structure (paragraphs, headings, bulleted and numbered lists, tables, bold, italic, underline, links and pictures), and each page is then drawn with your browser's own layout engine and assembled into a PDF. It is a content converter, not a copy of the Word page: headers and footers, columns, text boxes, tracked changes, exact fonts and exact spacing are not carried over, and the page size and margins are the ones you pick here. When you need the file to look exactly as it does in Word, use Word's own Save as PDF or LibreOffice instead.

How to use it

  1. Click the upload area or drop a .docx file onto it. Older .doc files must first be saved as .docx in Word or LibreOffice.
  2. Check the live preview. If something did not carry over, a list under the preview says what (for example an image format browsers cannot draw).
  3. Choose a page size (A4 or US Letter) and margins (narrow, normal or wide).
  4. Click Convert to PDF, wait while each page is rendered, then press Download.

FAQ

Will the PDF look exactly like my Word document?

No. The tool keeps the content and its structure but lays it out again with a standard print style: dark text on white in a sans-serif font, with the margins you pick. Fonts, spacing, columns, headers and footers, text boxes and page numbers from the original are not reproduced. If a pixel-accurate copy matters, for example for a contract or a CV with a designed layout, export to PDF from Word or LibreOffice.

What is carried over?

Body text, headings (Title and Subtitle styles become headings too), bulleted and numbered lists, simple tables, bold, italic, underline, hyperlinks and pictures in PNG, JPEG, GIF, WebP, BMP or SVG form. Footnotes and endnotes are converted to a numbered list at the end of the text.

What is not carried over?

Headers and footers, page numbers, multi-column layouts, text boxes and shapes, WordArt, charts, equations, comments, tracked changes, table of contents fields, custom fonts and colours, and pictures in EMF, WMF or TIFF format. Pictures also lose the size and position they had in Word: each one appears at its original size, scaled down only if it is wider than the page. Anything the converter knows it skipped is listed under the preview.

Can I convert an old .doc file?

Not directly. The old binary .doc format is not supported. Open it in Word, LibreOffice or Google Docs, save or download it as .docx, and upload that.

Is the text in the PDF selectable?

No. Each page is drawn to an image and placed in the PDF, the same way HTML to PDF and the Exact look mode of Markdown to PDF work, so the text cannot be selected or searched and links are not clickable. If you need text you can search, run the result through OCR PDF, or use Word or LibreOffice to export the PDF. Markdown to PDF has a Selectable text mode, but that is not available here.

Is my document uploaded to a server?

No. The .docx is read and converted in your browser tab, and the PDF is built there too, so nothing you open leaves your device. The conversion library (mammoth.js, BSD-2 licence) is downloaded from a CDN the first time you use the tool, but your document is never sent anywhere.

Why does the PDF have more or fewer pages than my document?

Pages are rebuilt from the content using a different font size, line spacing and margins from the original, so the page count rarely matches. Try the Narrow margin option for fewer pages or Wide for more. Breaks are placed to avoid cutting paragraphs, list items and table rows in half where they fit on a page.

How can I shrink or combine the result?

Use Compress PDF if the file is large because of images, and Merge PDF to join the result with other documents.

Related tools

Guides & comparisons

← All tools · PDF Tools · Blog · Cheat sheets · FAQ