To convert a bank statement PDF to CSV for Xero, first look for an OFX, QIF or CSV download in your online banking, since Xero's statement import reads bank files and not PDFs. If the PDF is your only copy, extract its rows with PDF to CSV, map the columns in Xero's import screen, and reconcile the result with the statement.
Keep the statement period, currency, balances and the bank's own wording while you prepare the import copy. PDF to CSV sends the statement to our server for extraction, so make sure online processing is allowed before you upload.
Use PDF to CSVPrefer a Bank File Xero Can Import
Check online banking for an OFX, QIF or CSV export before you convert a PDF. The Wikipedia article on Open Financial Exchange notes that many banks offer OFX, QIF or spreadsheet downloads through their web interface for import into financial software.
Keep the original statement and write down the account, currency, period, opening balance and closing balance. Those figures are your controls after the import.
How to Convert a Bank Statement PDF to CSV for Xero
- Check that you can select the statement's text; for a scan, run OCR PDF first.
- Open PDF to CSV, choose the statement and press Extract Tables to CSV.
- Download the CSV and leave it untouched as the raw extraction.
- In a copy, remove headings, balances and page totals, and put wrapped narratives back from the PDF.
- Keep at least a date, an amount or separate money-in and money-out columns, and a description or payee.
- In Xero, import the copy into the matching bank account, map the columns and check the preview.

A Statement Run Through PDF to CSV
In October 2026 we made a sample statement with the columns Date, Description, Money in, Money out and Balance, an opening balance of 1,500.00 and three transactions. The card payment had a second, wrapped line reading "reference 4471-2209". PDF to CSV gave us this for the first page:
Date,Description,Money in,Money out,Balance
02/09/2026,Opening balance,"1,500.00"
03/09/2026,Salary ACME Ltd,"3,200.00","4,700.00"
05/09/2026,Rent September,"1,250.00","3,450.00"
08/09/2026,"Card payment, Grocer",84.30,"3,365.70"
Three things went wrong, and all three are typical. Every row lost its empty cells, so the rent and the card payment (both money out) sit under Money in, and each balance sits one or two columns too far left. The wrapped reference line was a single piece of text and got dropped.
Read the Signs From the Running Balance
After the shift, each row holds two numbers: the movement first, then the balance. Compare each balance with the one before it: 1,500.00 to 4,700.00 is money in of 3,200.00, 4,700.00 to 3,450.00 is money out of 1,250.00, and 3,450.00 to 3,365.70 is money out of 84.30.
The quotes around "1,500.00" and "Card payment, Grocer" are fine: cells with a comma get quoted as RFC 4180 describes, so each stays one value. PDF to Excel on the same statement kept money in and money out in different columns and kept the reference line as its own row, which makes a long statement easier to check.
Let a Formula Read the Signs
On a long statement, have the spreadsheet compare each balance with the one before it. In the PDF to Excel workbook of our sample, the balances sit in column M, from the opening balance in M4 down, so this formula in N5, copied down, gives the signed movement:
=ROUND(VALUE(SUBSTITUTE(M5,",",""))-VALUE(SUBSTITUTE(M4,",","")),2)
In LibreOffice Calc 25.2 it returned 3200, -1250 and -84.3, all three amounts with the right sign. SUBSTITUTE strips the thousands comma first, because every cell of the workbook is text.
Shape and Map the Xero Import Copy
Starting from the raw rows above, the import copy gets one signed amount column, no opening balance row and the wrapped reference added back from the PDF:
Date,Amount,Description
03/09/2026,3200.00,Salary ACME Ltd
05/09/2026,-1250.00,Rent September
08/09/2026,-84.30,"Card payment, Grocer reference 4471-2209"
And the control check works out: 1,500.00 plus 3,200.00 minus 1,250.00 minus 84.30 is 3,365.70, the closing balance on the statement. In Xero's mapping step, assign Date to the transaction date, Amount to the amount and Description to the description or payee.
Leave the raw CSV alone and build a separate import copy. Xero lets you map your own columns during the import; at minimum you need the transaction date, the amount or separate money-in and money-out fields, and a description or payee.
Only strip currency symbols from numeric cells if the importer wants plain numbers, and check the decimal separator and the negative sign convention. Running balances, opening and closing balances, page subtotals and "continued" headings stay out of the transaction rows.
If the bank prints withdrawals as positive figures in a Debit column, map that column instead of typing minus signs by hand. Pick the correct bank account in Xero before you import.
Protect Dates and Narratives
Check ambiguous dates against the bank's locale and the statement period. Keep the bank's narrative long enough that you'll still recognise the transaction during reconciliation, and do any tidying in a separate field.
Keep Xero Copies Distinguishable
Name each prepared file with its destination, the last digits of the account, the currency and the period, never the full account number. Note which columns and which sign rule you used, so a later correction starts from the reviewed source table.
Reconcile the Statement Lines in Xero
Before import, compare the row count and the separate inflow and outflow totals with the PDF, and check that the opening balance plus net movement equals the closing balance. After import, run the same checks in Xero.
Chase down the first difference you find rather than posting an adjustment to force the balance. Categories, contacts, tax rates and tracking need accounting evidence, and the import doesn't decide them.
Fees, Interest, Transfers and Foreign Currency
Trace card payments, chargebacks, bank fees, interest and transfers through the printed balance and the import preview. For a foreign-currency account, keep the statement currency and don't swap in a home-currency amount from another report.
Scanned Statements and Other Routes
An image-only PDF has no text for PDF to CSV to read, so run OCR PDF first and check every number. OCR can swap digits, drop minus signs or read a comma as a decimal point.
Statement PDF over 25 MB? Try Extract PDF Tables, which reads pages the same way. The QuickBooks statement CSV guide covers a different column layout, and the guide to extract transactions from a PDF statement focuses on rebuilding rows before any import.
If you'd rather clean the data in a spreadsheet first, see how to convert PDF to Excel for accounting. Do one statement period at a time and finish its reconciliation before you start the next, so a wrong sign rule can't spread across a whole year.
Frequently Asked Questions about Converting a Bank Statement PDF to CSV for Xero
Can Xero import a PDF bank statement?
Its statement import works with bank files such as OFX, QIF and CSV, so download a bank file or convert the PDF to CSV first.
Why is a wrapped description missing from the CSV?
PDF to CSV skips lines that hold a single piece of text, just like the reference line in our sample. Copy the missing narrative from the PDF into the row it belongs to.
How do I know the extraction is correct?
Compare dates, row counts, money-in and money-out totals and the opening-to-closing balance movement with the statement, then reconcile again after import.
Does the conversion happen in my browser?
No. The statement gets uploaded to our server, so check your authorisation and financial-data rules before you submit it.