Guides ·
Bank Statement OCR: How It Works, Where It Fails, and How to Check the Result
“Bank statement OCR” is the phrase people reach for when they want the transactions out of a PDF and into a spreadsheet or accounting software. The phrase is a little misleading. OCR is one step, and on many statements it isn’t even the hard one. This guide explains what’s really going on, where the process breaks, and how to check the output so a bad read doesn’t end up in your books.
Three different jobs
Getting transactions out of a statement involves three separate problems, and tools solve them with different levels of skill.
1. Text recognition (OCR)
Optical character recognition turns a picture of text into text. It turns the pixels of “$1,250.00” into those characters, and that’s all. It doesn’t know a date from a dollar amount, or which column a number belongs to. If the statement is a scan or a photo, OCR is required. A text PDF (more below) doesn’t need it at all.
2. Table and layout understanding
A statement isn’t a paragraph. It’s a set of tables, often one per account or per transaction type, with headers, running balances, subtotals, page breaks and footnotes. Layout understanding means working out which text belongs to which row and column, which rows are transactions and which are headers or totals, and where one transaction ends and the next begins. This is where most of the real errors come from.
3. Extraction into clean records
The final step turns each row into a record with a date, a description, and a signed amount, in a consistent format: a full date including the year, withdrawals negative, one row per transaction. On a messy statement this means reading the way a person would: knowing that “Beginning balance” isn’t a transaction, that a line of text below a payee name is part of its description, and that the Balance column is not an amount.
StatementJet does this step with AI rather than fixed rules: the statement is read on our server by our AI provider, Anthropic, and never stored.
Three kinds of input
Text PDFs. Most statements downloaded from online banking are text PDFs: the characters are stored in the file, and you can select and copy them. No OCR is needed, so character errors are rare. Layout is still the challenge.
Scanned images. A paper statement run through a scanner is a picture. OCR has to recognize every character. A clean, straight scan at normal resolution works well. A faint, skewed or low-resolution scan produces misreads: an 8 for a 3, a 0 for a 6, a dropped decimal point.
Phone photos. A photo adds perspective, uneven lighting, shadows and blur. Clear, well-lit photos of a flat page can work. Blurry ones are unreliable. If a photo is your only option, retake it flat, in good light, and check the result carefully.
Password-protected PDFs are a separate case: the text can’t be read until the file is unlocked, so remove the password first.
The classic failure modes
Each of these looks plausible at a glance, which is what makes them dangerous.
The running balance column is read as amounts
Many statements print a Balance column beside each transaction. If the tool picks that column instead of the amount column, every “transaction” becomes the account balance at that moment. The numbers look like money, so nothing flags it, but the totals are wildly wrong.
Dropped minus signs
Some statements show withdrawals in a separate column with no sign at all. Others use a trailing minus, a CR or DR marker, or parentheses. If the tool doesn’t understand the convention, withdrawals come out positive, and your spending looks like income.
Dates without a year
Statement rows often show “03/14” with the year printed only in the header. A tool that copies the date as printed produces a date with no year, or guesses the wrong one, which matters on a statement that spans December and January.
Multi-account statements merged
A single PDF can cover a checking account, a savings account and a credit line. If the tool doesn’t notice the boundaries, all three accounts land in one list, and the balance of each one is meaningless.
Descriptions split across lines
A long payee name wraps onto a second line, or the bank prints a reference number on the line below. A row-by-row reader treats the second line as a separate transaction with no amount, or attaches it to the wrong one.
Totals rows counted as transactions
“Total deposits,” “Total withdrawals,” “Ending balance”: these lines contain dates and amounts and sit inside the table. Counting them as transactions doubles your totals.
Why a balance check catches most of them
Every statement prints an opening balance and a closing balance. The transactions between them must add up exactly:
Opening balance + deposits - withdrawals = closing balance
A tool that checks this arithmetic after extraction has a built-in error detector, and it catches nearly every failure above:
- Reading the balance column as amounts throws the sum off by a huge margin.
- A dropped minus sign changes the total by twice that transaction’s amount.
- A totals row counted as a transaction adds the whole period’s deposits or withdrawals again.
- A merged multi-account statement won’t balance for any single account.
- A description line read as a transaction with a missing or misread amount changes the sum.
- A misread digit in a scanned amount changes the sum.
What it doesn’t catch: a wrong year on an otherwise correct date, a misspelled payee, and two errors that happen to cancel out. Those are rarer, and a glance at the first and last dates and the descriptions covers them.
The balance check is the single most useful thing to look for in any bank statement OCR tool. A list of transactions with no check against the statement’s own totals is a list you have to verify by hand.
How StatementJet reads a PDF
- You drop the PDF on the converter. It’s sent to our server and read by AI, and the file is not stored. Our security page explains what happens to it.
- The statement’s text and layout are read together rather than sliced into columns by position, which is what makes the failure modes above avoidable.
- The extracted transactions are checked against the statement’s printed opening and closing balance. The result shows BALANCED, or the difference in red.
- You download the result as Excel (with real dates and numbers), CSV, QBO, QIF, OFX, or a printable PDF report.
We don’t publish an accuracy percentage, because it would depend entirely on which statements were measured. The balance check is a better promise: for each statement you convert, you can see whether the numbers add up.
What StatementJet doesn’t do: it reads one file at a time, there is no bulk upload or API, it doesn’t categorize transactions, and blurry photos are as unreliable for us as for anyone.
How to check the result yourself
Whatever tool you use, check these before the data goes into your books:
- Look at the balance check. If it shows a difference, find it before doing anything else. The size of the difference is a clue: equal to one transaction means a missed or doubled row; double a transaction means a sign error.
- Check the first and last dates against the statement period, including the year.
- Count the transactions on one page of the statement and compare with the output for that date range.
- Scan the amounts for outliers. A “transaction” far larger than anything else on the account is probably a balance.
- Read a few descriptions against the statement to make sure they weren’t cut short or joined to the wrong row.
If you’re reconciling, the reconciliation itself is the final check. Our guide to how to reconcile a bank statement walks through it, and if you’re new to the document itself, start with what a bank statement is.
Convert your statement
Try it on a real statement: bank statement to Excel for a spreadsheet with real dates and numbers, or bank statement to CSV for a four-column file (Date, Description, Memo, Amount) that most software accepts. Up to 20 transactions per file and 2 PDF statements a day are free.