Convert an Old DOC File to PDF
Converting a legacy .doc file — the binary Word 97–2003 format — to PDF means opening it in an application that still understands the twenty-five-year-old binary structure and exporting fixed pages from it. Modern Word does this through Compatibility Mode, and LibreOffice's mature .doc import filter is the standard rescue path when Word is unavailable or refuses the file. This page covers both routes, plus what to do when a .doc appears corrupt, and why converting to PDF is the safest way to preserve documents from retired machines.
The binary .doc format is a compound file of undocumented-until-2008 record structures that only full word-processor engines parse correctly, and browsers expose no such engine to local pages. The desktop methods below convert these files reliably.
Disclosure: this page contains affiliate placeholder links. If they were live, we could earn a commission at no extra cost to you.
AFFILIATE PLACEHOLDER: Recommended desktop PDF suite (placeholder link)
How to convert a DOC to PDF (step by step)
Method 1 — Modern Word in Compatibility Mode
- Open the .doc in a modern copy of Word; the title bar shows Compatibility Mode, which keeps the old layout rules active.
- Do not use File → Info → Convert — converting to .docx re-lays-out the document with modern rules and can move line and page breaks.
- Scroll through and compare against a printout or your memory of the document, watching tables, footnotes, and page breaks.
- Go to File → Export → Create PDF/XPS Document and click Publish.
Method 2 — LibreOffice (the rescue path for orphaned files)
If you have no Word license, or Word refuses the file, LibreOffice opens Word 6.0/95/97–2003 binaries and exports with File → Export As → Export as PDF. For a folder of recovered files from an old drive:
soffice --headless --convert-to pdf --outdir ./out thesis.doc
soffice --headless --convert-to pdf --outdir ./out *.doc
LibreOffice's binary import filter descends from StarOffice code that has been reverse-engineering .doc since the 1990s; it frequently opens damaged or very old files that modern Word rejects outright.
Method 3 — Word's Open and Repair for damaged files
- In Word choose File → Open → Browse, select the file, then click the arrow on the Open button and choose Open and Repair.
- If text appears but formatting is scrambled, export to PDF anyway to capture the content, then fix cosmetics later.
How it works
Unlike a .docx, a .doc is not XML in a ZIP. It is an OLE2 Compound File — a miniature FAT-like filesystem inside one file — whose main WordDocument stream holds the text as one long sequence, with separate structures (the FIB header, piece table, and property "plexes") recording where formatting runs start and end. The piece table exists because Word 97 saved edits incrementally: paragraphs can be stored out of order, sometimes mixing 8-bit CP-1252 and 16-bit Unicode pieces in one file. A converter must reassemble this puzzle before any layout happens, which is why partial corruption of one table can make the whole file unreadable even though the text is physically intact.
The second challenge is layout emulation. Word 97–2003 had measurably different line-breaking, table autofit, and footnote-placement behavior than modern Word, so Compatibility Mode applies dozens of stored "compatibility options" flags to reproduce old pagination. The emulation is close but not exact, and the fonts of the era — often TrueType faces that never shipped with later Windows versions — are frequently missing, forcing metric-changing substitutions. That combination, not file damage, explains most "my old file looks wrong" reports.
Exporting to PDF freezes the rendered result: pages become fixed content streams with embedded font subsets, immune to future format obsolescence. For archival use, choose PDF/A in the export options so every font is fully embedded and the file carries no external dependencies.
Worked example: a 1999 thesis from an old backup CD
Test file: thesis-1999.doc, 486 KB, written in Word 97 — 84 pages, 63 footnotes, Times New Roman 12 pt with headings in Arial, and two WMF vector diagrams. Word 2021 opened it in Compatibility Mode and exported thesis-1999.pdf, 611 KB, 84 pages, matching the surviving printout page-for-page; the WMF diagrams converted to vector PDF drawing commands. Clicking Convert first (out of curiosity) shifted footnote 41 to the following page and changed the total to 85 pages — a concrete demonstration of why exporting from Compatibility Mode matters. LibreOffice 24.8 converted the same file headless in 4 seconds to a 598 KB PDF, identical except for footnote separators drawn 1 pt thicker.
Frequently asked questions
Why does my old DOC file look different in modern Word?
Modern Word opens .doc files in Compatibility Mode, emulating Word 97-2003 layout, but the emulation is not perfect and the original fonts are often missing, so line breaks and table widths can shift. Install the fonts the document uses, or try LibreOffice, whose .doc filter sometimes matches the original better.
Should I convert the DOC to DOCX before exporting to PDF?
Not if your goal is a faithful PDF; the Convert command re-lays-out the document with modern layout rules, which can move page breaks. Export straight from Compatibility Mode, and only convert to .docx when you plan to keep editing the file long-term.
How do I convert a DOC to PDF without Word installed?
LibreOffice opens Word 97-2003 files free of charge and exports PDF via File, Export As, Export as PDF, or unattended with soffice --headless --convert-to pdf thesis.doc. Its binary .doc import filter has been refined for over twenty years and handles most legacy documents well.
Word says the file is corrupt — can I still get a PDF?
Try Word's Open and Repair option in the File Open dialog's arrow menu, then try LibreOffice, which tolerates structural damage Word rejects. If both fail, the file may actually be a different format with a .doc name; check the first bytes, since real .doc files begin with the hex signature D0 CF 11 E0.
Will WordPad open a DOC file for converting to PDF?
Old WordPad versions open some .doc files but ignore headers, footers, footnotes and most formatting, so the PDF would be wrong, and Microsoft removed WordPad from Windows in 2024. Use LibreOffice instead; it is free and renders the full layout.
Is a DOC file with macros safe to convert?
Conversion itself never runs macros as long as you do not click Enable Content when the security banner appears; exporting works fine with macros blocked. The PDF output contains no macro code at all, which makes conversion a good way to neutralize suspicious old files.