How-to · 5 min read

How to convert a PDF to Word and keep the tables

Most converters hand back a wall of paragraphs where your table used to be. Here is why that happens, and which of the two export modes to pick.

A PDF does not contain a table. It contains text positioned in a way that a human eye reads as a table: a column of numbers whose left edges line up, another column beside it, and some horizontal rules that may or may not be actual lines rather than thin filled rectangles. The word "table" appears nowhere in the file. Any converter that gives you a real Word table has inferred it from the geometry, and inference can be done well or badly.

Done badly, you get every cell as its own paragraph, in reading order, so a five-column financial summary arrives as a single column of two hundred numbers. Done well, you get a table you can edit. The difference is not the file format; it is how much work the converter did before writing the DOCX.

PDF to Word offers two modes because there is no single right answer, and the honest thing is to let you pick rather than to guess and be wrong half the time.

Step by step

How to do it

  1. Open the PDF in the converter

    Go to PDF to Word and drop the file on the box. It is parsed in your browser — nothing is uploaded — and the page tells you how many pages it found.

  2. Choose the export mode

    Flowing mode produces ordinary Word paragraphs you can edit freely; it is the right choice for a report, a letter or an article. Layout mode reproduces the visual arrangement using positioned frames and real Word tables; it is the right choice for an invoice, a statement or a form.

  3. Convert and download the DOCX

    The document is assembled in memory and saved. Tables detected in the source become real Word tables in both modes, anchored to the page position they came from in layout mode.

  4. Open it and check the tables first

    Tables are where conversion goes wrong, so look at them before anything else. Check that column boundaries fall where they did in the PDF and that no cell has swallowed its neighbour.

  5. Fix column widths if a heading wrapped

    A heading that wrapped mid-word usually means its column came out marginally too narrow. Drag the column boundary in Word; the content is correct, only the width needs a nudge.

How a table is actually detected

The detector works on alignment rather than on ruled lines, because plenty of real tables have no lines at all and plenty of ruled boxes are not tables. It looks for runs of text whose left edges repeat down the page at the same x-positions, groups those into candidate columns, and then applies two sanity checks before calling it a table.

The first check is fill: in a real table most cells are short. If the average cell is nearly as wide as its column and long, this is prose in columns — a two-column newsletter, say — and turning it into a table would be worse than leaving it as text. The second is size: fewer than three rows or fewer than two columns is not enough evidence, and forcing a table on that basis produces false positives far more often than it rescues a real one.

This is why a table with one very long free-text column sometimes comes through as paragraphs. It is a deliberate trade: the detector would rather miss an unusual table than turn every two-column page in your document into a grid.

Which mode for which document

Pick flowing when you intend to keep writing. A report you are updating, a contract you are amending, an article you are re-editing — anything where paragraphs need to re-wrap when you type. Flowing mode gives you ordinary Word text: headings are headings, paragraphs are paragraphs, and the document behaves like something authored in Word.

Pick layout when the arrangement is the information. An invoice where the total has to sit under the column of line items. A statement. A form. A certificate. Layout mode uses positioned text frames and page-anchored tables to put things where they were, and the cost of that fidelity is that the document is stiff — inserting a sentence will not push everything below it down, because nothing is in a flow to be pushed.

If you are unsure, convert twice. It takes seconds, nothing is uploaded either time, and comparing the two side by side answers the question faster than reasoning about it.

When the PDF is a scan

If the converter reports very little text, or none, the pages are probably images. A scanned or photographed document has no text layer to extract, and no converter can produce editable text from it without optical character recognition, which this site does not yet do. PDF to JPG will get you the page images if that is useful, but there is no honest route from a scan to an editable Word file here today.

A note on what "keeps the layout" can mean

No converter reproduces a PDF perfectly in Word, and any that claims to is describing a narrower set of documents than yours. The two formats disagree at the foundations: one is a fixed arrangement of glyphs on a fixed page, the other is a flowing document that decides where things go when it draws them. Layout mode gets close by giving up flow. Flowing mode keeps flow by giving up exact position. Choosing between them consciously is the whole technique.

Questions

Things people ask about this

Will the images in my PDF come through?

Yes. Embedded images are extracted and placed in the DOCX — inline in flowing mode, anchored at their original page position in layout mode.

Why is one of my columns narrower in Word than in the PDF?

Word adds padding inside every table cell, which the PDF did not have. The converter adds that padding back into the column width so text does not wrap where it did not before, but a column that was already tight in the original can still end up needing a small manual nudge.

Can I convert just a few pages?

Split the document first with Split PDF, then convert the piece you want. It is faster than converting a large document and discarding most of it, and on a phone it is often the difference between working and running out of memory.

Is the DOCX a real Word file or a renamed HTML document?

It is a real Office Open XML package — the same zip-of-XML structure Word itself writes — assembled in your browser. It opens in Word, LibreOffice, Pages and Google Docs.