ToolNest

Free Online Word to PDF Converter

Convert Word documents (.docx) to PDF instantly. Preview your document and save as PDF with one click — no uploads, no servers.

Document never leaves your browser

Drop a .docx file here or Browse File

Word 2007+ (.docx) · converted locally · no upload

Converting document…

Processing entirely in your browser

Converted ·

Tip: In the print dialog, set Destination → Save as PDF and check Background graphics for best results. Set margins to Default or None.

Document preview Scroll to review before saving

How the Conversion Works

This tool uses mammoth.js, an open-source library that reads the Open XML structure of .docx files and converts them to clean HTML. The HTML is then rendered as a print-ready page, which your browser can export as a PDF using its native print-to-PDF engine.

Because everything runs in JavaScript inside your browser tab, your document is never transmitted anywhere. The tool works fully offline once the page has loaded.

What Gets Converted

  • Text formatting — bold, italic, underline, strikethrough
  • Headings — H1 through H4 (mapped from Word heading styles)
  • Lists — bulleted and numbered, including nested lists
  • Tables — preserved with borders and cell alignment
  • Hyperlinks — preserved as clickable links in the PDF
  • Inline images — extracted and embedded as data URIs
  • Blockquotes — from Word's Quote paragraph style

Known Limitations

  • Custom fonts — replaced with Times New Roman in the PDF output. This is a browser printing constraint, not a tool limitation.
  • Text boxes and shapes — floating text boxes, shapes, and WordArt are not extracted by mammoth.js and will not appear in the output.
  • SmartArt and charts — these embedded objects are skipped. Only text content inside them may appear.
  • Complex layouts — multi-column layouts and precise absolute positioning are not preserved. The output is a single-column, flow-based layout.
  • .doc files — the binary .doc format (Word 97–2003) is not supported. Re-save as .docx first.

Tips for a Better PDF

  • Before saving as PDF, check More settings → Background graphics in the Chrome/Edge print dialog to include any shaded table headers.
  • Set the paper size to A4 or Letter and margins to Default for best readability.
  • If your document has very wide tables, switch the orientation to Landscape in the print dialog.
  • For documents with complex formatting, consider using LibreOffice Writer (free, open-source) for a more faithful conversion.

How to Use Word to PDF

  1. 1

    Upload your Word document

    Drag a .docx file onto the upload area or click Browse File. Only the modern .docx format is supported — not the older binary .doc format.

  2. 2

    Review the preview

    Your document is converted to HTML in the browser using mammoth.js. Check the preview to verify headings, tables, lists, and text look correct.

  3. 3

    Save as PDF

    Click Save as PDF. A clean print-ready page opens in a new tab. In your browser's print dialog, choose "Save as PDF" as the destination, then click Print.

Share this tool: X / Twitter WhatsApp

Frequently Asked Questions

No — never. The conversion happens entirely in your browser using the open-source mammoth.js library. Your document bytes stay on your device the entire time. The tool works offline once the page has loaded.
Only .docx (the modern Open XML format used by Word 2007 and later) is supported. The older binary .doc format is not supported. If you have a .doc file, open it in Microsoft Word, LibreOffice, or Google Docs and re-save it as .docx first.
Most common formatting is preserved: headings (H1–H4), paragraphs, bold, italic, underline, bulleted and numbered lists, tables, and hyperlinks. Some elements may not convert perfectly: custom fonts (replaced with Times New Roman in the PDF), complex text boxes, WordArt, SmartArt diagrams, and embedded Excel charts. For pixel-perfect conversion of these elements, a desktop tool like LibreOffice or Microsoft Word is recommended.
Click Save as PDF. A print-ready version of your document opens in a new browser tab. Your browser's print dialog will appear — in the Destination (or Printer) dropdown, select Save as PDF, then click Print. The PDF is saved to your downloads folder. On mobile, tap the share icon and choose "Print", then pinch-zoom out to find the PDF option.
Images embedded in .docx files are extracted and embedded as base64 data URIs in the HTML output, so they should appear in the preview and PDF. Very large images may slow the conversion. If an image does not appear, it may use a format not supported by browsers (e.g., WMF/EMF vector images used by older Word versions).
No. Password-protected .docx files cannot be read by this tool. Remove the password in Microsoft Word (File → Info → Protect Document → Encrypt with Password → clear the password) before converting.

We use cookies only for essential site functionality. No tracking or advertising cookies. Learn more