FastBankConvertFastBankConvert home

PDF Reading Order Wrong? Why Text Comes Out Scrambled

By FastBankConvertPublished June 21, 2025Updated June 21, 2025

When the PDF reading order is wrong, text comes out of the file in a different sequence from the printed page, because a PDF stores text in whatever order its maker wrote it. Copying follows that stored order, so dates, payees and amounts land in the wrong rows. Fix it with a converter that places words by their position.

What is PDF reading order?

PDF reading order is the sequence in which software pulls the text out of a page. It decides what you get when you copy a paragraph, what a screen reader speaks aloud, and which characters a converter sees first. On a well-made file it matches the printed layout. On many files it does not.

A PDF has more than one possible order. The first is the content order: the sequence in which drawing instructions appear inside the page, one text fragment after another. The second is the tag order. Tagged PDFs, made for accessibility, carry a separate structure that lists the page's content in its logical order. The third is the order a tool works out for itself from the position of each word.

Different tools use different orders. A simple copy usually follows the content order. A screen reader prefers the tags when they exist. A converter that builds tables usually ignores both and sorts words by their position on the page. That is why the same file can paste as a jumble, read aloud correctly and convert nearly right, all at once.

Why does a PDF's reading order differ from the printed page?

The order differs because a PDF is a set of drawing instructions, and the program that wrote it can draw in any sequence. The finished page looks the same whichever piece is drawn first. Only the stored order, which you cannot see, records the sequence.

Bank statements are often produced by reporting software that fills a template. It may draw every fixed label first, then all the dates, then all the descriptions, then all the amounts, column by column. Printed, the page is a neat table. Stored, it is four long lists in a row.

Other common causes:

  • Edits after creation. Text added later, such as a corrected amount or a stamp, is often stored at the end of the page even though it sits in the middle.
  • Headers and footers drawn last. The bank name and page number at the top may come out after the final transaction.
  • Merged or combined files. Pages built from several sources can mix the order of each.
  • Scanned pages with OCR. Recognition software writes its invisible text in the order it detected lines, which can jump between columns.
  • Multi-column layouts. A page with side panels or two columns can be stored row by row across both, or block by block.

None of these make the file faulty. They only mean that reading order is something you test, not something you assume.

Scrambled statement rows from a wrong reading order

Scrambled rows are the visible damage. Values from different transactions end up side by side, or a whole column arrives after the rest of the table. The characters are all correct. Only their order is wrong, which makes the error easy to miss until totals stop matching.

A worked example

The excerpt below is an example: three printed lines from a statement.

Date Description Amount
04/02 Grocery Mart 54.10
04/05 City Water 38.75
04/09 Payroll deposit 1,950.00

Suppose the software that made the PDF stored the text column by column. The stored order is:

04/02, 04/05, 04/09, Grocery Mart, City Water, Payroll deposit, 54.10, 38.75, 1,950.00

Paste that into Excel and you get nine lines in a single column, or one line holding everything. The dates come first, then all the names, then all the amounts. Nothing on screen looks broken, but no row is a transaction.

A worse case is a partial reorder. If a corrected amount was added after the page was made, it is stored at the end. A converter that follows stored order might put 38.75 at the bottom of the sheet with no date, and shift the following amounts up by one row. Now every line after the edit pairs a payee with the next payee's amount.

The corrected rows should, of course, match the printed table exactly. The quickest way to prove they do is the running balance: each line's balance should equal the line above plus or minus that line's amount.

Checking a PDF's reading order before converting

Checking takes about a minute. Select all the text on one page, copy it, and paste it into a plain text editor. Read the result from the top. If it reads like the page, with each date followed by its description and amount, the order is fine. If not, you have seen the problem before it reaches a spreadsheet.

Run three quick tests on the page that matters most, usually the first page of transactions:

  1. Copy and paste. Paste into a plain text editor, not into Excel, so no column guessing hides the order.
  2. Search across a line. Search for a date, then press "find next". If the cursor jumps to a distant part of the page, the stored order runs elsewhere.
  3. Select by dragging. Drag the mouse across one printed row. If the highlight leaps to other parts of the page, the stored order is not row by row.

Look at the pasted text for blank pages too. Some statements end with an empty page or a page of small print. They add nothing but noise to the output, and removing blank pages from a PDF shows how to drop them before converting.

How do you fix PDF reading order?

Fix the order by giving the converter the page layout instead of the stored sequence. The simplest route is a converter that places words by their position on the page, which makes stored order irrelevant. Other routes are getting the statement in a different format or rewriting the PDF so the order is rebuilt.

Options, from least to most effort:

  • Use a position-based converter. A tool that reads where each word sits, rather than the order it was written, builds rows from coordinates. This handles most column-by-column files.
  • Download a different format. Many banks offer a CSV or a web view of transactions alongside the PDF. A web page holds text in reading order by nature. Turning an HTML bank statement into Excel explains how to work from that version.
  • Print to a new PDF. Printing the statement to a PDF printer rewrites the pages. Sometimes the new file stores text in a cleaner order. Sometimes it does not, so test it with the copy and paste check.
  • Fix the tags in a PDF editor. Editors with accessibility tools let you reorder the tag structure. This helps screen readers and tag-aware tools, but a converter that ignores tags will not notice.
  • Run OCR on an image of the page. As a last resort, turn the page into an image and recognize it again. This throws away the stored order completely, at the cost of possible digit errors.

A formula repair for a small paste

For a short paste stored column by column, a formula can rebuild the rows. Paste the text into column A, so the example above fills A1 to A9: three dates, then three names, then three amounts. With three transactions, put =INDEX($A$1:$A$9,ROW()) in B1, =INDEX($A$1:$A$9,ROW()+3) in C1 and =INDEX($A$1:$A$9,ROW()+6) in D1, then fill all three down to row 3. Each row now holds one date, its payee and its amount. Change the 3 and 6 to match your own count. This only works when every column has the same number of entries, so a missing value anywhere breaks the pairing.

After any fix, values often arrive as text rather than numbers, especially amounts with commas. Making converted PDF data editable in Excel covers turning those back into numbers you can sum.

When a wrong PDF reading order does not matter

A wrong reading order does not matter when the tool you use ignores it. A converter that builds rows from each word's position produces the same table whatever order the text was stored in. The problem only bites with copy and paste, simple text extraction, and tools that follow the stream as written.

It also matters little when the scramble falls outside the data. If only the header, logo text or footer comes out of place, you will delete those rows anyway. And on a short statement with a handful of lines, retyping may be faster than any fix.

Where it does matter is any process that reads text in sequence: a script that splits pasted lines, a formula that expects date, description, amount, a screen reader user checking a statement. For those, test the order on one page before trusting the whole file.

FastBankConvert checks whether a statement's balances add up and tells you before the download if they do not, so a scrambled row has somewhere to show itself. It is getting ready to open, and you can join at Get started.

All posts in Difficult and locked PDFs