Published November 9, 2026
How PDF Table Extraction Works (and Where It Breaks)
PDF tables are text at coordinates, not cells. See how this converter groups text into rows and splits columns by spacing, and which layouts defeat that logic.
There are no cells inside a PDF
A PDF describes where each piece of text sits on the page, plus the lines and fills drawn around it. A table is a visual arrangement, not a data structure. Extraction is therefore reconstruction, and the quality of the result depends on how regular that arrangement is.
This is why two PDFs that look identical on screen can convert differently. One was exported with even spacing; the other was flattened, resized, or assembled from pieces.
How rows are found
The converter reads every text run with its position on the page, then groups runs whose vertical coordinate is within about three points of each other. A run that is slightly raised, such as a superscript or a cell with a taller baseline, can therefore join the neighbouring row.
Within each group, runs are sorted from left to right. That order becomes the row.
How columns are found
A horizontal gap larger than roughly fourteen points starts a new cell. Smaller gaps are treated as spaces inside the same cell. The decision is made from the distance between text, not from the grid lines you can see.
This detail surprises people. A bordered table exported with tight padding may collapse into a few cells, while an unbordered table with generous spacing can split cleanly. Drawn borders neither help nor hurt this converter.
Layouts that defeat the logic
Irregular tables are not impossible to extract, but they need repair after the fact. These are the usual culprits.
- Merged cells: one wide text run becomes one cell, and the columns below no longer line up.
- Justified text: wide word spacing can be mistaken for a column break.
- Two-column page layouts: text from both columns falls into the same rows.
- Rotated pages and tables set at an angle: coordinates no longer form clean rows.
- Tables that continue across pages: the header is repeated, and the break may drop a row.
- Cells with several lines of text: each line can become its own row.
Prepare a PDF that extracts cleanly
Because spacing drives the result, the best preparation happens before export. Export the table straight from the source document, keep it unbroken on one page where possible, and avoid screenshots pasted into a Word file, which remove the text layer entirely.
If you are requesting a report from someone else, ask for the spreadsheet as well as the PDF. The spreadsheet costs nothing to produce and removes the need for reconstruction.
Repair the output efficiently
Delete blank and footer rows, rebuild the header, and sort by the first column to expose rows that lost their alignment. Convert numeric text to numbers only after the structure is stable, then reproduce one printed total to confirm nothing was dropped.
For a short table of a dozen irregular rows, retyping is often faster and more reliable than repairing an extraction. Use the converter when the table is long, repetitive, or part of a report you receive every month.
Related PDF Guides
How to Convert PDF to Excel Online: Step-by-Step
Run a PDF through the browser converter, then check the text-only output: how rows are inferred, what arrives as text, and how to fix common problems.
PDF to Excel for Analysis: A Data Cleaning Checklist
A converted table is raw material. Validate structure, convert text to numbers, reconcile a total, and store the source so the analysis can be defended later.
PDF to Excel Formatting: What Survives Conversion
Almost no spreadsheet formatting survives a PDF conversion. Learn what this tool copies, why every cell arrives as text, and how to rebuild it.
Next steps
Start with Convert PDF to Excel to put this guide into practice, then browse the blog for more pdf guides.
