Skip to content

Guides

Why PDF to Word Conversions Break Formatting (and How to Fix Them)

Why PDF to Word conversions break tables, columns, fonts and spacing, how to choose converter settings, and when to ask for the source file instead.

Updated 9 min readSublimePDF Team

You converted a PDF to Word and got text boxes everywhere, a table that turned into tab-separated lines, a font that does not exist on your machine, or a scanned page that arrived as one big picture. None of this means the converter is broken. A PDF simply does not hold the things a Word document is made of, so every converter has to guess them back. This article explains what is missing, shows it on a real file, and gives fixes for the failures people hit most often.

If you are still deciding which format to send or archive, read PDF vs DOCX: when to use which first. This page assumes you already have a PDF and need an editable document from it.

Why a PDF does not convert cleanly

A Word document stores structure: paragraphs, runs of styled text, tables with rows and cells, section columns, headers and footers. Layout is calculated when the document is opened, which is why text reflows when you change a margin.

A PDF stores the result of layout. The page content is a list of drawing instructions: move to a coordinate, select a font at a size, show these glyphs, draw this line, paint this image. The PDF specification describes text this way (ISO 32000-1, section 9.4, "Text objects"). There is no instruction for "this is a paragraph" or "this is cell 3 of row 2" unless the producer also wrote an optional structure tree (Tagged PDF, section 14.8). Many PDFs are not tagged.

So a converter has to:

  • group glyphs into words, words into lines and lines into paragraphs by measuring gaps;
  • decide which lines belong to the same column;
  • infer a table from aligned text and nearby ruled lines;
  • map embedded font subsets to fonts you have installed;
  • decide whether to keep exact positions (text boxes) or produce flowing text.

Every one of those is a heuristic. When the heuristic is wrong, you see the formatting problem.

What a converter actually sees: a local test

To make this concrete, we ran PDF.js 5.7.284 (the same library many browser viewers use) over the sample invoice PDF, which was printed from an HTML template with headless Chromium. The script is kept in the SublimePDF site repository at scripts/research/pdf-to-word/structure-dump.mjs, together with its raw JSON output, so the test can be repeated. These are local results on one file, not output from any particular PDF to Word product.

What the file contains:

CheckResult on the sample invoice
Structure tree (Tagged PDF)Not present
Text runs on page 181 positioned runs
Fonts reported9 embedded fonts, all exposed to the extractor only as generic sans-serif
TableNo table object; positioned cell text plus separately drawn shapes (38 path operations on the page)

Grouping the runs by vertical position, which is the first thing a converter does, produced lines like these (the number is the y coordinate in points):

 774 | Northwind | Studio | Ltd
 767 | Invoice
 759 | 14 Example Street
 744 | INV-2026-0142
 666 | BILL TO | REFERENCE
 651 | Bräuer | & | Søndergaard | Rechtsanwaltsgesellschaft | PO PO-88213
 563 | DESCRIPTION | QTY | UNIT | PRICE | AMOUNT
 504 | Template data mapping | 6 h | €120.00 | €720.00
 491 | Field de | fi | nitions and sample payloads

Three classic conversion failures are visible in nine lines:

  1. Columns interleave. The seller address (left) and the invoice title and number (right) sit at nearly the same heights, so a naive reader alternates between them. The customer name in the left column lands on the same line as the purchase order number from the right column.
  2. Table cells are just aligned text. "UNIT PRICE" is two runs, so a converter can easily split it into two columns. The description column holds two lines per item (name and detail) that must be merged into one cell.
  3. Ligatures split words. "definitions" was typeset with an "fi" ligature, which arrives as a separate run: Field de | fi | nitions. A converter that does not rejoin it produces stray spaces or a broken word.

Good converters handle much of this with smarter column detection and ruling-line analysis, but they are working from the same raw material.

Common symptoms and how to fix them

Everything is in text boxes or frames

The converter chose to keep exact positions. The page looks right but editing one line does not reflow the rest.

  • Look for a setting such as "flowing text", "retain flow" or "editable text" instead of "exact layout" or "retain page layout".
  • For single-column documents (letters, reports), flowing text almost always gives a better editing experience.
  • For forms, brochures and anything with precise placement, positioned output may be the only faithful option; edit in place rather than expecting reflow.

Tables come out as tabs, spaces or separate text boxes

The converter did not recognise the grid.

  • If the converter has a table detection option, turn it on. Tables with visible ruling lines are detected more reliably than whitespace-only tables.
  • Convert just the table pages, then rebuild the table in Word with "Convert Text to Table" using tabs as the separator.
  • If you only need the numbers, a PDF to spreadsheet export or copying the table into a spreadsheet is often faster than fixing it in Word.

Two-column text reads across the columns

Lines from the left and right column are merged, as in the test above.

  • Choose a mode that detects columns, or convert to flowing text and set Word's layout to two columns afterwards.
  • For a short document, copying one column at a time from a PDF viewer into Word can be quicker than repairing a merged conversion.

Fonts are substituted and lines rewrap

PDFs usually embed only the glyphs that were used (a subset), and that subset is not a font you can install. Word substitutes a font with different widths, so lines break in new places and pages grow.

  • Install the original font family if you are licensed to use it, then re-apply it to the converted text.
  • Otherwise pick one similar font for the whole document and accept that line breaks will change. Do not try to match the original page breaks by hand.

Odd spacing, broken words and missing characters

Usually ligatures, manual letter spacing, or fonts that lack a Unicode mapping. When a font has no mapping from glyphs to characters, the converter can only output the glyph codes, which appear as wrong or empty characters.

  • Search and replace the common cases (fi, fl, double spaces).
  • If many characters are wrong, treat the PDF like a scan and run OCR on it instead of extracting its text layer.

A scanned page arrives as one image

There is no text in the file, only a picture of text. Conversion without OCR cannot produce editable words.

  • Run optical character recognition first, then convert. Our guide on making a PDF searchable covers OCR quality, languages and how to check the text layer.
  • Expect to proofread: OCR accuracy depends on scan resolution, skew, contrast and language data. The open-source Tesseract documentation explains the factors that matter.

Headers, footers and page numbers repeat in the body

The converter does not know that "Page 1 of 4" at the bottom of each page is a running footer, so it keeps it as body text on every page.

  • Delete them after conversion and recreate a real Word header or footer.
  • Tagged PDFs make this easier: the producer can mark running headers and footers as artifacts (ISO 32000-1, section 14.8.2.2), which tells software they are not part of the content.

Choosing a converter and settings

There is no single best converter for every file. What matters is how the PDF was made:

PDF typeWhat to expectSettings that help
Exported from Word or another editor, taggedBest results; structure can be read from tagsFlowing text; keep styles
Printed from a browser or report engine, untaggedGood text, weaker tables and columnsTable detection; column detection
Designed layout (brochure, poster)Text boxes are unavoidableExact layout; edit in place
Scanned or photographedNo text without OCROCR first, correct language set
Form with fieldsField values may be dropped or flattenedConvert a flattened copy, or export field data separately

SublimePDF's PDF to Word tool and its OCR tool depend on a separate conversion service, and we have not tested their output for this article, so we do not describe their settings here. Whatever tool you use, test it on your hardest page first, usually the one with a table or two columns, rather than page 1.

You can check the most important property of your own file yourself: try selecting text in a PDF viewer. If you can select words, the file has a text layer and extraction can work. If the whole page selects as one block or nothing, you need OCR. If selected text pastes as gibberish, the fonts lack Unicode mappings and OCR is again the better route.

When to ask for the source file instead

Conversion is a recovery technique. If someone else made the PDF and you need to edit it substantially, asking for the original is often quicker than fixing a conversion:

  • Contracts and agreements. Redlining a converted copy risks silent changes in numbering and clause text. Ask for the DOCX, or agree changes as comments on the PDF.
  • Reports with many tables. Ask for the spreadsheet or the original document.
  • Generated documents such as invoices, statements or reports from a system. The data and template that produced the PDF are the real source. Changing the data and regenerating is more reliable than editing an output file. For example, the invoice template page shows the template and JSON data behind the sample invoice used in the test above.
  • Signed documents. Converting and editing a signed PDF produces a new, unsigned document. See why a PDF signature becomes invalid after editing.

Preventing the problem when you produce PDFs

If you publish PDFs that other people will need to reuse:

  • Export tagged PDFs where your editor offers it, so headings, lists and tables carry structure. This also helps screen reader users; see the PDF accessibility guide.
  • Use real text rather than images of text, and fonts whose licences allow embedding with Unicode mappings.
  • Offer the editable source alongside the PDF when editing is expected.

Summary

A PDF records where glyphs go, not what the document means. Converters rebuild paragraphs, columns and tables from positions and lines, and they fail in predictable ways: interleaved columns, flattened tables, substituted fonts, split ligatures and image-only scans. Choose flowing or exact layout deliberately, run OCR on scans, rebuild complex tables rather than repairing them, and ask for the source file when the document matters.

Sources

  1. ISO 32000-1:2008 Document management - Portable document format (Adobe public copy), 9.4 Text objects and 14.8 Tagged PDF · accessed 23 November 2026
  2. PDF.js project · accessed 23 November 2026
  3. Tesseract OCR documentation · accessed 23 November 2026