Word to PDF. Converted in your browser.

Convert .docx Word files to PDF using your browser's print engine. Basic formatting is preserved. Complex layouts may differ.

Basic conversion only — headings, paragraphs, and basic formatting are preserved. Tables, columns, headers/footers, and precise spacing may not match the original. Output is rendered by your browser's print engine.
Drop your Word file here
or click to browse files from your device
— .docx files only · no server upload
✓ 100% private · ✓ no uploads · ✓ free forever
— How it works
Step 1
Add your Word file
Drop a .docx file. Mammoth converts it to HTML in your browser — nothing is uploaded.
Step 2
Browser renders it
The converted HTML is loaded into a print-ready frame. Your browser's print engine renders the layout.
Step 3
Save as PDF
Use "Save as PDF" in your browser's print dialog. The output quality depends on your browser's renderer.

What this tool does — and what it doesn't

This tool converts a .docx Word file to a print-ready HTML page that you save as PDF using your browser's built-in print dialog. It uses Mammoth.js to translate the document's structure — headings, paragraphs, bold, italic, lists — into clean HTML, which your browser then renders and lets you export as PDF.

Simple documents with straightforward text formatting convert well. Complex Word documents — those with precise table layouts, multi-column sections, custom headers and footers, specific page margins, or embedded images with exact positioning — will not render exactly as they appear in Word. The output depends on how well your browser interprets the converted HTML, not on a professional Word rendering engine.

If you need pixel-accurate Word-to-PDF conversion that preserves the exact appearance of your document, that requires a server-side tool running LibreOffice or Microsoft Word — not possible in the browser. This tool is suited for text-heavy documents where editability matters more than exact layout replication.

Why the browser print dialog is used for PDF output

There is no JavaScript API that lets a web page write a PDF file directly with full typographic fidelity. The closest achievable result in a browser is rendering HTML to a print context and using the browser's built-in PDF writer — the same engine used when you press Cmd+P and choose "Save as PDF". This approach is honest: your browser is doing the rendering, not a hidden conversion library that might silently mishandle your document's structure.

To get the best result, use Chrome or Edge and select "Save as PDF" in the destination dropdown when the print dialog opens. Set margins to "Default" or "None" depending on your document. If your document has a lot of text content, the result will typically be clean and readable even if the exact page breaks differ from the original .docx file.

— FAQ
Will the formatting from my Word file be preserved?
Basic formatting — headings, paragraphs, bold, italic, bullet lists — is preserved. Complex formatting like precise table column widths, custom page margins, multi-column layouts, headers and footers, and exact image placement is not. The output depends on your browser's print renderer.
What file types does this tool accept?
Only .docx files (the modern Word format). Older .doc files are not supported. If you have a .doc file, open it in Word or Google Docs first and save as .docx.
Is my file uploaded to a server?
No. Mammoth.js runs entirely in your browser. Your file is never uploaded or transmitted anywhere.
How do I save as PDF from the print dialog?
When the print dialog opens, look for the "Destination" or "Printer" dropdown and select "Save as PDF". In Chrome and Edge this is the first option. In Firefox, choose "Print to File". On macOS, any browser lets you click the PDF button in the bottom-left of the print dialog.
Tables in my document look broken in the output — why?
HTML table rendering in browser print contexts differs from Word's table engine. Column widths, cell padding, and borders may not match exactly. For precise table conversion, a server-side tool using LibreOffice or the Microsoft Word API is required.
Can I convert .doc files?
No — only .docx is supported. The .doc format (pre-2007 Word) is a binary format that Mammoth.js cannot read. Open the file in any modern word processor and save it as .docx first.
— Ready when you are

Open the toolkit. Keep your files.

Browse all tools