Skip to content
Toolpit

Getting a PDF table into Excel with the columns intact

Conversion tools do not read your table. They guess at it from where the text sits on the page. Once you know what they are guessing from, you can tell in advance which tables will work.

6 min read · Updated

Private — processed on your device, never uploaded

There is no table in the PDF

When a spreadsheet is exported to PDF, the table structure is thrown away. What survives is text at coordinates and, sometimes, lines drawn on the page. The grid you can see is the lines; the data is unrelated text that happens to sit between them. Nothing in the file says “this is a column”.

So every PDF-to-Excel converter is doing the same thing: looking at where the text fragments sit and inferring rows from shared vertical positions and columns from shared horizontal ones. It is a reconstruction, and how well it goes depends almost entirely on how regular the original layout was.

What breaks, and why

  • Merged header cells. A header spanning three columns is one piece of text with one position, so it lands in one cell and the two beside it come back empty.
  • Values that wrap onto two lines. Two vertical positions means two rows, and a long product description splits itself in half.
  • Numbers with spaces as thousand separators. “12 345” is two fragments with a gap between them, and a gap is exactly what a column boundary looks like.
  • Blank cells. Nothing is drawn where a value is missing, so there is no evidence a column exists there at all, and everything to the right can shift left by one.
  • Right-aligned numbers next to left-aligned text. The two columns are detected at different positions and can be read as three.

A workflow that mostly holds up

  1. Confirm the PDF has real textTry to select a number in the table. If you cannot, this is a scan and no converter will extract it without OCR — a different job with a different accuracy problem.
  2. Convert, then check the column count before anything elseNot the values — the count. If your six-column table came out with eight columns, a gap was misread and everything downstream is shifted. That is worth catching in five seconds rather than after you have started formatting.
  3. Check the header row and the last rowHeaders break because of merged cells; the final row breaks because of totals in a different layout. Both ends are where the assumptions fail.
  4. Spot-check three numbers against the PDFPick one from the top, middle and bottom. A column shift shows up immediately, and a shifted column is the failure mode that quietly survives into a report.
PDF to ExcelRuns in your browser, so financial statements and payroll tables never leave your machine.

When to stop converting and do something else

Conversion is worth it for a table you cannot get any other way. It is not always the fastest route.

  • For a table of twenty rows, retyping it is often quicker than fixing a bad extraction — and you will read the numbers as you go, which catches errors a conversion hides.
  • If the PDF came from a colleague, ask for the spreadsheet. Ten seconds of asking beats an afternoon of repair.
  • If it is a recurring report, the source system almost certainly has a CSV export. Somebody chose PDF; that choice can usually be changed.
  • If it is a scan of a printout, and accuracy matters, treat OCR output as a draft to be checked rather than data to be trusted.

Questions

Why are my columns merged or split after conversion?

The converter infers columns from the horizontal gaps between text fragments. A wide gap inside a cell — a number written with a space separator, or a short value in a wide column — looks exactly like a column boundary. Blank cells cause the opposite problem, because nothing is drawn to mark the column.

Can I convert a scanned table to Excel?

Not by extraction, because a scan contains no text. It needs OCR, which recognises characters from pixels and makes mistakes on exactly the things that matter in a table — 0 against O, 1 against l, and decimal points. Always check OCR output against the original.

Is it safe to convert a financial statement online?

Only if the file is not uploaded. A converter that runs in your browser processes the PDF in the tab, so nothing is transmitted. You can confirm this yourself from the browser’s network panel in under a minute.

Private by design — your files never leave your device. If this was useful, passing it on is the whole marketing budget.

Share this:XRedditHacker NewsLinkedIn

The tools from this guide

Every one runs in your browser — no upload, no signup, no watermark.