Skip to main content

PDF extraction problem

Fix Misaligned Columns After PDF-to-CSV Conversion

Review PDF table extraction for shifted columns, wrapped text, repeated page headers and OCR mistakes.

Use the matching tool

PDF to CSV

Open PDF to CSV

What the error actually means

PDF stores positioned marks rather than a reliable table model. Extraction reconstructs rows and columns from layout, which can fail when cells wrap, pages repeat headers or scanned text requires OCR. Every output needs validation against the source pages.

Likely causes

  • The PDF is scanned rather than text-based.
  • Column spacing varies by page.
  • Multiline cells resemble new rows.
  • Headers and footers repeat on every page.

Layout reconstruction

Problem

A wrapped address becomes a second transaction

Correct pattern

The continuation is joined to the correct record after source-page review

A safe repair workflow

  1. 1Determine whether the PDF contains text or images.
  2. 2Extract a few representative pages.
  3. 3Correct repeated headers and wrapped cells.
  4. 4Reconcile totals and row counts with the document.

How to verify the result

A file that downloads successfully is not automatically a correct file. Check the result at both the structural and business-data levels:

  • Amounts remain under the correct headers.
  • Page headers are not data rows.
  • Multiline cells stay attached.
  • Critical totals match the PDF.

Read the deeper guides