Word to PDF Converter
Operator: Abdulla Al Fahad. How tools are built and checked
Most online Word to PDF services work by uploading your document to a server, converting it there and sending a PDF back. For a contract, a medical letter or a CV that is a real privacy cost. The Word to PDF Converter does the whole job in your browser: it reads the .docx structure, lays the text out page by page and writes a PDF with real, selectable, searchable text. The document never leaves your device.
This is a re-layout, not a screenshot of Word. Headings, paragraphs, lists, tables, bold, italic, underline, colours, highlights and links are drawn into the PDF with standard fonts, page numbers are added, and you can choose US Letter or A4. Images, headers, footers and Word's exact fonts are not reproduced, which the sections below explain in detail. If you need to fix something first, Edit in Word editor opens the document before you export.
Key features
- Produces real text that can be selected, searched and copied, not an image of the page, and the .docx is never uploaded.
- Keeps headings, paragraphs, bulleted and numbered lists, tables with header rows, alignment, bold, italic, underline, strikethrough, colour, highlight and links.
- Letter or A4 page size with 1-inch margins and a Page N of M footer on every page.
- Keeps headings with the following lines and repeats table headers across page breaks.
- Replaces isolated unsupported symbols with a warning, and refuses non-Latin documents with a pointer to the Print route instead of producing garbage.
How the PDF is laid out
The .docx is read with mammoth, which turns Word's heading styles into headings, lists into lists and tables into tables while keeping bold, italic, underline, strikethrough and hyperlinks. The PDF is then built with the pdf-lib library. Pages are Letter (8.5 by 11 inches) or A4 with 1-inch margins. Body text is 11pt Helvetica, which has the same metrics as Arial; headings are 20, 15 and 12.5pt bold; text in Word's Code or HTML Preformatted style is set in Courier. Lines are wrapped on spaces, paragraphs can be left, centred, right-aligned or justified, and a heading is kept with the lines that follow it rather than stranded at the foot of a page.
Lists get hanging indents with bullets or numbers that restart for each list. Tables use equal column widths, a thin grey grid, wrapped cell text and a shaded, bold header row that is repeated when the table continues on the next page. Underline, strikethrough, text colour and highlight are drawn, links are shown in blue with an underline, and a Page N of M footer is added to every page. Footnotes and endnotes are collected into a numbered list at the end of the document, which is how mammoth presents them.
The PDF uses the standard fonts built into every PDF reader, so the file is small and nothing is embedded, but those fonts only cover the Latin alphabet with Western European accents. A document with a few symbols outside that range gets them replaced by a question mark and a warning listing the characters. When more than about one letter in twenty cannot be drawn (and at least twenty such letters appear), the conversion is refused with a message that points to the Word editor, whose Print option saves a PDF through the browser with your system fonts and full script support. That is the route for Bengali, Arabic, Chinese, Russian and other non-Latin documents.
How it works
Once mammoth has produced the document structure, a layout pass measures every word with the standard font metrics, wraps lines to the content width, applies alignment (spreading justified lines across the width) and computes the height of each line and table row. Each line becomes an item with its spacing and a keep-with-next requirement for headings.
A second pass places those items on pages, starting a new page when the next line would cross the bottom margin, keeping headings with their text and repeating table headers. Decorations such as underlines and highlights are drawn with the text, footers are added once the page count is known, and the file is saved as a PDF Blob for download.
Common use cases
- Sending a CV or cover letter as a PDF when the job portal says Word files are not accepted.
- Converting a signed contract or a letter containing personal data without uploading it to a third-party service.
- Producing a PDF from a .docx received by email on a Chromebook or a computer without Word installed.
- Archiving meeting minutes and reports as text-based PDFs that can be searched later.
- Checking how a document reads as a plain, consistently formatted PDF before sending it for approval.
How to use this tool
- Drop a .docx file on the upload area. The PDF is built immediately and the summary shows the page count.
- Switch between US Letter and A4 and compare the page counts; pick the size your recipient expects.
- Check the warnings for skipped images or replaced characters, and the preview for heading styles that did not carry over.
- Download the .pdf, or open the document in the Word editor to make changes and convert again.
Example
Word document
Heading 1 style: Service agreement
Normal: This agreement starts on 1 May 2026 and runs for twelve months.
Numbered list: Scope; Fees; Termination
Table (2 columns, header row): Item | Fee
Setup | €400PDF layout
Page 1 (Letter, 1in margins)
"Service agreement" Helvetica-Bold 20pt
Body paragraph, Helvetica 11pt, wrapped at 6.5in
1. Scope 2. Fees 3. Termination (hanging indent)
Table with grey header row: Item | Fee / Setup | €400
Footer: Page 1 of 1Tips for best results
- Use Word's heading styles. Titles that were made by enlarging text by hand are set as ordinary 11pt paragraphs because the converter reads styles, not font sizes.
- Pick A4 for European recipients and Letter for North America. The page count shown in the summary updates when you switch.
- Read the warning about replaced characters. If it lists symbols you care about, such as arrows or check marks, replace them with words in the Word editor and convert again.
- For a document in Bengali, Arabic, Chinese or another non-Latin script, open it in the Word editor and use Print, then Save as PDF. That route uses your system fonts.
- If pixel-exact fidelity matters, Word's own Save as PDF is still the best choice. This converter is for when Word is unavailable or the file must not be uploaded.
Edge cases to watch
Images, charts, shapes and text boxes are not drawn. The warnings report how many images were skipped, and the text flows as if they were not there.
Headers, footers and Word's own page numbers are dropped. The converter adds its own Page N of M footer instead.
Page breaks fall in different places than in Word, because the fonts, margins and spacing are the converter's defaults rather than the document's.
Every font becomes Helvetica, or Courier for the Code style. A document set in Times New Roman or Calibri changes appearance, although the text itself is unchanged.
Tracked changes are shown as if they had been accepted, and comments are left out.
Documents with a substantial share of non-Latin letters are refused rather than filled with question marks. Use the Print route from the Word editor for those.
Frequently asked questions
Is the PDF text selectable?
Yes. The converter writes real text with standard fonts, so you can select, search and copy it in any PDF reader, and screen readers can read it.
Why does the PDF look different from the document in Word?
The page is laid out again from the document's structure using the converter's fonts and spacing. Word's exact fonts, images, headers and page breaks are not copied, so the content is the same but the appearance is simpler.
My document is in Bengali or Chinese and was refused. What can I do?
The built-in PDF fonts cannot draw those scripts. Open the document in the Word editor on this site and use Print, then choose Save as PDF in the browser dialog, which uses your system fonts.
Is the file uploaded to a server?
No. Reading the .docx and writing the PDF both happen in your browser. The document stays on your device.