Why Your Word Document Sometimes Looks Different as a PDF (and How to Fix It)
Converting a Word document to PDF is meant to lock in exactly how it looks — that's the whole point of PDF as a format. So it's a genuinely frustrating surprise when fonts shift, spacing changes, or a table's borders disappear in the conversion. Here's what's actually going on, and what a conversion tool needs to do to avoid it.
The real cause: how the converter reads the file
A DOCX file isn't just "text with some formatting on top" — it's a structured document format (technically, a zipped bundle of XML files known as OOXML) that stores exact font sizes, colors, spacing, and layout as explicit data. A conversion tool that reads this structure directly can reproduce it precisely. A conversion tool that takes a shortcut — extracting rough text and guessing at formatting, or relying on a simplified parsing library that doesn't capture every detail — will drift from the original in exactly the ways people notice: a font substituted for something close-but-not-quite, spacing that's slightly off, or a table that loses its borders.
What tends to go wrong most often
Tables are a common casualty — if a converter doesn't fully parse table structure, borders, shading, and cell alignment can be lost even if the text survives. Custom or embedded fonts are another: if a tool falls back to a default font instead of reading the document's actual font specification, text that was meant to look a certain way ends up looking generic. Precise spacing and indentation, especially in documents with specific formatting requirements (like a resume or a legal document), are exactly the kind of fine detail that gets lost when a converter approximates rather than parses.
What "reads the real structure" looks like in practice
A conversion tool built to parse the document's actual OOXML data — rather than working from an approximation — carries font size, color, and styling information through per run of text, keeps table formatting intact including borders and shading, and preserves image positioning exactly as placed in the original. The practical result: what you see in Word is what you get in the PDF.
Word to PDF is built this way — it parses the DOCX file's real structure directly rather than approximating it, which is why fonts, tables, and layout come through matching the original. Going the other direction, PDF to Word uses the same principle in reverse: real per-run font styling, genuine table detection, and image extraction, rather than dumping flat, unformatted text into a new document.