Bank statement OCR: is your PDF scanned?
Before bank statement OCR, test each page: select text, search an amount, zoom in. Then handle mixed PDFs and phone photos, and check 0/O and minus signs.

On this page8sections
Bank statement OCR is only needed for pages that are images. If you can select a transaction description and find an amount with the search box, the page already has a text layer to extract from. If selection and search fail and the digits break into pixels when you zoom in, the page is scanned or photographed: it needs OCR, and every recognized amount must be checked against the image.
Test several pages, not just the first: one statement can mix original pages and scanned inserts. Use a viewer on your own computer, and don’t share a financial document just to run this diagnosis.
When the bank offers a CSV export for the same period, importing the bank statement CSV into Excel avoids OCR entirely. Otherwise the route goes from a scanned bank statement to Excel or CSV, with each row reviewed against its page. After recognition, check the bank statement balance against the printed opening and closing figures, and keep booking date and value date apart when you map the date columns.
How to tell if a bank statement PDF is scanned
Run four quick tests on a first page, a middle page and the last page. Together they tell you which pages have usable text and which need OCR.
- Select text. Drag across one transaction description and copy it into an empty text file. If nothing can be selected, the page is probably an image, or copying is restricted. If text copies, check that the characters and their order match the page.
- Search for an amount. Use the viewer’s search (Ctrl+F, or Cmd+F on a Mac) for an amount you can see, such as
42.00. No hit on a visible number points to an image or to text that was recognized differently. - Zoom to 400%. Text drawn as text stays sharp at any zoom. Scanned text shows soft or jagged pixel edges, gray specks and sometimes a slight tilt of the whole line.
- Look at the document properties. The creator or producer fields sometimes name a scanning application or a device. That is a hint only: properties can be empty or rewritten.
| Observation | What it establishes | Next action | Still to check |
|---|---|---|---|
| Text copies in the right order and matches the page | Usable text in the tested area | Try a table preview on that page | Row boundaries and amounts |
| Text copies, but amounts come before descriptions | Text exists; reading order is unsuitable | Use table selection rather than copy-paste | Each amount stays with its row |
| Page looks scanned but text can be selected | A text layer was added, possibly by earlier OCR | Compare copied characters with the image | Earlier recognition errors |
| No text can be selected anywhere | Image-only page, or a restriction | Check access, then plan OCR for that page | Do not classify from this symptom alone |
| A digit is cropped or unreadable in the image | Source evidence is incomplete | Obtain a clearer, complete copy | Never reconstruct the missing amount |
Selectable text supports a method choice. It does not prove the document is original, because OCR can add an invisible text layer to a scan; the W3C technique on OCR text notes that recognized text can contain errors that need correcting.
For scanned or photographed statements, BankStatementScan turns each page into Excel or CSV rows that you review beside the source image, with the balance recalculated before export so doubtful readings surface early. See how the balance check and the source-page review work together.
What is bank statement OCR?
OCR (optical character recognition) turns a picture of characters into text. For a bank statement that is only half the job: the recognized words must also be placed in the right rows and columns, so that each date, description, debit, credit and balance stays together. A page can be recognized letter by letter and still produce a broken table if a description wraps onto two lines or a column shifts at a page break.
So treat bank statement OCR as two results to check: the characters (is 8 really 8?) and the structure (is this amount on the right row?). The W3C reading-order technique is a reminder that the order text is stored in can differ from the order you see.
Mixed PDFs: some pages text, some pages images
Imagine a fictional eight-page statement where text copies correctly on pages 1, 4 and 8, and page 6 is an image-only insert. Three successful samples do not make page 6 suitable for text extraction. Test every page, list page 6 as a separate OCR task and keep its position in the document, so its rows return between pages 5 and 7.
Record the diagnosis page by page: page number in the file (not the printed label), text present or absent, problem seen, chosen method. This short record tells you which pages can proceed, which need different handling and which cannot yet support a complete export.
Phone photos and scan quality
A photographed statement adds problems a flatbed scan rarely has. Before OCR, look at each image as a reader would:
- Resolution. Zoom on the smallest digits, often the cents. If you cannot read them with certainty, no recognition step will. For small statement print, we suggest scanning at 300 dpi or more rather than relying on a compressed photo.
- Angle and skew. A tilted page bends rows, so an amount drifts toward the line below. Photograph the page flat and square, or straighten it before recognition; rotate pages in a bank statement PDF before OCR when some pages are sideways.
- Light and shadows. Glare can erase a decimal point; a shadow across the fold can turn a 3 into an 8. Use even daylight and no flash.
- Edges. The whole page must be in the frame, including page numbers and the balance column on the right edge. A cropped margin can remove a minus sign or the last digit.
If a photo fails these checks, take a new photo or ask for a better copy. That costs less than reviewing a poor recognition result line by line.
What to check after OCR
Recognition errors in bank statements follow patterns. Check these on every page before trusting a total:
- Look-alike characters. 0 and O, 1 and I or l, 5 and S, 8 and B. A reference like
AB10O7and an amount like1O5.00both need a look at the image; see zero versus letter O and 1 versus I in recognized amounts. - Decimal marks and signs. A lost decimal point multiplies an amount by 100. A minus sign, parentheses or a CR/DR suffix may be dropped; see normalizing minus signs and parentheses.
- Columns. An amount can jump from debit to credit, or from one row to the next, especially at a page break; see columns that shift at a page break.
- Repeated headers and totals. Column headings and carried-forward balances printed on each page must not become transactions.
Test one difficult place as a trial: a two-line description at the bottom of a page, with a debit of EUR 42.00 printed once. The result must be one transaction, both description fragments, the right date and exactly EUR 42.00. Two rows of 42.00 would double the debit to 84.00; losing the continuation would keep the total but lose information. A useful trial checks text and money separately.
Then recalculate the balance: opening plus credits minus debits must give the printed closing balance. A match does not prove each character is right, but a mismatch tells you exactly where to look.
Decide whether OCR is necessary at all
Check whether the bank already provides the period as CSV or another structured format. If it does, import that file and use the PDF only as the reference to verify rows. OCR is worth its review time only for periods, pages or accounts that exist solely as images.
Questions
Can you OCR a bank statement from a phone photo?
Yes, if the photo is sharp, flat, evenly lit and shows the whole page. Expect more look-alike character errors than with a scan, and compare every amount with the image before using the result.
Does selectable text mean the PDF is the bank’s original?
No. A scanned page can carry a text layer added by OCR. Selectable text only tells you that text is available to extract; its characters still need checking against what the page shows.
Sources
- W3C — PDF reading order: stored text order versus visual order.
- W3C — OCR text and verification: adding a text layer to scanned pages and checking it.
BankStatementScan turns bank statement PDFs, including scans, into Excel or CSV: every transaction sits next to its source page and the closing balance is recalculated.