Bank Statement Converter App

Bank statement OCR: converting scanned statements to Excel or CSV

By the Bank Statement Converter App team · Updated

Bank statement OCR is optical character recognition applied to a scanned or photographed statement, so that the image of numbers becomes text you can copy into Excel or CSV. It is the extra step you need when a PDF has no selectable text, and it is the step where most errors enter your data.

Check whether you need OCR at all

Open the PDF and try to select a line of text with your cursor, or press Ctrl+F and search for a merchant name. If the text highlights, the file already contains real text and you can skip OCR. Go straight to the methods in PDF bank statement to Excel. If nothing highlights, the page is an image and needs recognition first.

Before you scan anything, see whether the bank can send a fresh digital copy. A statement downloaded from online banking is text. A scan of the paper copy is always worse.

How to scan a statement so OCR works

  • Use a flatbed scanner or a scanning app with edge detection, not a casual phone photo.
  • Scan at 300 dpi or higher, which is the usual guidance for text recognition.
  • Keep pages straight and flat. A skewed page misaligns the columns.
  • Use grayscale or black and white. Colored backgrounds reduce contrast.
  • Scan every page in order, including pages that look blank.

How to run OCR on a bank statement

  1. Open the scan in a tool with a text recognition feature, such as Adobe Acrobat's Recognize Text. Tesseract is a free open source engine that runs on your own computer.
  2. Export or copy the recognized text into Excel.
  3. Rebuild the columns with Text to Columns or Power Query.
  4. Compare against the original page by page.

The mistakes OCR makes with numbers

Text recognition is good on clean printed pages and weaker on faint, skewed or faxed ones. The errors that hurt a bank statement are small ones. A 5 reads as an S, a 0 as an O, a 1 as an l, a decimal point disappears, or a minus sign is dropped so a withdrawal looks like a deposit. A wrong digit cannot be spotted by reading a sheet of numbers, so rely on arithmetic. Opening balance plus deposits minus withdrawals must equal the closing balance, and each running balance must follow from the line above. Checking a converted bank statement shows the formulas, and why bank statement conversion fails lists related causes.

When retyping a statement is faster than OCR

For a short statement with fewer than about twenty lines, typing the figures by hand and checking the balance is often quicker than cleaning OCR output. Phone photos are the worst input, with shadows, curved pages and perspective, so if you must photograph a page, lay it flat, use even light and shoot straight down. Better still, call the bank and ask for a digital copy.

Scanned PDF or just a PDF with images

Not every PDF with a picture of text is a scan. Some banks embed the transaction table as an image to stop copying, and some scanning apps save a searchable layer behind the picture. The Ctrl+F test above tells you which you have. A searchable scan already went through OCR once, so use its text and compare a few lines to the page image before you trust it. A PDF with no text layer goes through recognition from the start.

Free ways to run OCR

  • Google Drive. Upload the file, right-click it and open it with Google Docs, and Drive reads the text from the image. Google says the file should be 2 MB or smaller and the text at least 10 pixels high, and notes that tables and columns are not likely to be detected, so expect rows to arrive as loose lines.
  • Tesseract. This free open source engine runs on your own computer, so the statement is never sent anywhere. It takes some comfort with the command line, and it returns text with no table structure.
  • Your scanner or phone app. Many scanning apps can save a searchable PDF, which is the cheapest way to get a text layer on a paper statement.
  • Adobe Acrobat. Recognize Text adds a text layer to a scan, and a paid plan is required for it.

None of these rebuilds the table for you. Recognition gives you the characters, and you still have to turn them into rows. For text that arrives as one long column, Excel's Text to Columns and Power Query do the splitting, as shown in cleaning bank statement data in Excel.

Prefer a digital statement over a scan

Almost every bank can produce a text statement from online banking, even for accounts you have since closed, through a branch or a phone call. It is worth five minutes of effort before you start OCR, because the cleanest scan will still be less accurate than the bank's own file. The usual download paths are in how to download bank statements.

How to keep scanned statements private

A scanned statement is a picture of your account number and address. Many OCR services process files on their servers, so read whether it is safe to upload a bank statement before you pick one. For wider context, see our bank statement converter overview.

Frequently asked questions

How to extract bank statements into Excel from a scan?

Run text recognition on the scan, then copy the recognized text into Excel and rebuild the columns. Alternatively, ask your bank for a digital statement and import that instead.

Can I OCR a bank statement for free?

Yes. Tesseract is free open source software that runs locally, and some scanning apps include OCR at no charge.

How accurate is OCR on a bank statement?

OCR accuracy on a bank statement varies with scan quality. Clean, straight, high-resolution printed pages come out well, while faded, skewed or faxed pages produce more digit errors.

Can OCR read handwritten notes on a statement?

Poorly. Standard OCR is built for printed text, and handwriting such as margin notes or corrected figures is often misread or ignored.

Which file format is best for OCR on a bank statement?

A bank statement for OCR works best as a high-resolution PDF or PNG scan at 300 dpi or more. Avoid low-quality JPEG photos, which blur small digits.

Is OCR safe for sensitive bank statements?

OCR is safe for bank statements if the software runs on your own computer. Cloud OCR services send the file to a server, so read how long they keep it.