BrowserTools
Home / PDF / Word to PDF

Word to PDF

Turn a Word .docx document into a PDF without uploading it.

Loading Word to PDF… If nothing happens, please enable JavaScript.

Word documents are the most common file people need as a PDF: a CV for a job portal that only accepts PDF, an invoice for a client, a thesis for submission, a letter that must look the same on every screen. A .docx file is really a zip archive of XML parts describing paragraphs, styles, tables, images, headers and footers, and the page setup of each section. Converting it means laying all of that out on real pages, which is what Word does when you choose Save as PDF.

Examples

Input cv.docx (A4, 2 pages)
Output cv.pdf

Same margins and page breaks, selectable text, clickable email and LinkedIn links.

Input report.docx with a landscape section
Output report.pdf

Each section keeps its own paper size and orientation when printed.

Input letter.doc (Word 97-2003)
Output Not supported

Save it as .docx in Word, LibreOffice or Google Docs first.

Frequently asked questions

Is my Word document uploaded?
No. The .docx is read and laid out by JavaScript in your browser, and the PDF is created by your browser's own print engine. The file never leaves your device, and the converter keeps working with the network disconnected once the page is open.
How do I get the PDF file?
Click Save as PDF. Your browser's print dialog opens; set the destination to Save as PDF (in Chrome and Edge) or choose PDF in the print dialog on macOS, then save. Leave scaling at 100% and margins at None or Default: the document's own margins are already part of each page.
Why do line or page breaks differ from Word?
Usually because of fonts. If the document uses a font that is not installed on your device, such as Calibri or Cambria on Linux or on a phone, the browser substitutes a similar one with slightly different widths, so text reflows. Installing the font, or embedding fonts in Word when saving, gives the closest result. Turning off Follow Word's page breaks lets text flow naturally if the saved breaks no longer fit.
Which Word features are not converted perfectly?
Floating text boxes and shapes, text wrapping around images, SmartArt, charts, equations, some complex tables with merged cells, and columns that balance across pages can be simplified. Tracked changes are shown as the final text, and comments are not printed. Ordinary text, styles, headings, lists, tables, images, headers, footers and footnotes convert well.
Can it convert old .doc files, .odt or .rtf?
No, only the modern .docx format (also .docm and .dotx), used by Word since 2007. Open older .doc files, OpenDocument .odt or RTF in Word, LibreOffice or Google Docs and save them as .docx first.
Will the text in the PDF be selectable?
Yes. The browser prints real text with embedded fonts, not screenshots, so the PDF is searchable, its text can be copied, and hyperlinks from the document stay clickable.
Can I protect the PDF with a password afterwards?
Yes. Save the PDF, then open it in the PDF Password tool on this site to add an open password with AES-256 encryption. That step also runs entirely in your browser.
What does the HTML download contain?
A single self-contained web page with the document's styles and images embedded, laid out page by page. It is useful for publishing a document on the web or for opening it in a browser on a device without Word.

About Word to PDF

This tool does that layout in your browser. It reads the .docx with the open-source docx-preview library, which reproduces paper size, margins, orientation, headers and footers, footnotes, tables, lists, images and Word's own page breaks. You see a page-by-page preview, then the PDF is produced by your browser's built-in print engine: choose Save as PDF in the print dialog. Each section keeps its own paper size, so a landscape table in the middle of a portrait report prints in landscape. Text stays real text in the PDF, selectable and searchable, and links remain clickable. You can also download the result as a single self-contained HTML file.

Nothing is uploaded. Online converters ask you to send the document to their server, which is a real concern for contracts, medical letters, HR files and anything under a confidentiality agreement. Here the file is unpacked and rendered by JavaScript on your own device, and it works offline once the page has loaded.

Be aware of the limits of any converter that is not Word itself. Fonts that are not installed on your device are replaced by the closest available font, which can move line and page breaks. Text boxes, wrapped and floating images, SmartArt, charts, equations, and complex tables with merged cells may be simplified, and tracked changes and comments are not printed. For a quick, private PDF of letters, CVs, reports and forms the result is usually very close; for a print-critical layout, check the preview before saving. Old binary .doc files are not supported: open them in Word, LibreOffice or Google Docs and save as .docx first.

Why Word Became a Zip File

For its first two decades, Word saved documents in a binary format that was essentially a dump of the program's internal memory structures, stored inside a miniature file system called OLE Compound File. It loaded quickly on the computers of the 1990s but was notoriously hard for anyone else to read, and Microsoft did not publish a full specification until 2008. Competing word processors spent years reverse engineering it, and documents that looked perfect in one version of Word could shift in another.

The change came under pressure from governments. In the early 2000s several public administrations, notably the Commonwealth of Massachusetts in 2005, began requiring open, documented formats for official records, and the OpenDocument format, developed around OpenOffice, was standardised by ISO in 2006. Microsoft answered with Office Open XML: Word 2007 switched to .docx, a zip archive of XML files, and the format was standardised as ECMA-376 and then ISO/IEC 29500 in 2008, after one of the most contested votes in ISO's history.

You can see the structure yourself: rename any .docx to .zip and open it. Inside, word/document.xml holds the text as paragraphs (w:p) made of runs (w:r) of identically formatted text, styles.xml holds the styles, and the media folder holds the pictures. Interestingly, Word also writes the positions where it last broke pages (lastRenderedPageBreak) into the file, which converters like this one use to reproduce Word's pagination without having Word's layout engine.

Support