Import a bank statement into Xero
Xero has a CSV import and an OFX import, each with its own rules, set out below in Xero's words. For a CSV that does not fit, our CSV to OFX converter writes an OFX file.
Xero's CSV import
From Import a bank statement in CSV format, read 2026-10-23 (the page carries no date, and its text may differ by region):
- “You only need the Date and Amount fields to create bank statement lines, but reconciling your transactions is easier if you include more detail.”
- “Both income and expense amounts must be in the same column. Show income as positive amounts and expenses as negative amounts using a negative sign in front of the amount or with brackets, for example -30.00 or (30.00). Don't use commas to show decimal places.”
- Xero says to delete “Columns containing opening and closing balances”, “The bank account number if it shows in the import file” and “Empty rows”.
- “You can't import a CSV file with more than 100,000 rows.”
- “If your file contains a date that could be either DD/MM/YY, MM/DD/YY or YY/MM/DD, Xero prompts you to confirm the format. Xero applies the chosen format to the entire statement and all future CSV bank statements.” Xero lists the formats it takes on that page.
- “Transactions matching those already in Xero will be treated as duplicates and won't be imported.”
Xero's OFX import
From Import an OFX, QFX or QuickBooks bank statement, read 2026-10-23, general address (Xero's US and Canada versions differ in places):
- “Import bank statements or transactions you've exported from your online banking in OFX, QFX or QuickBooks format into Xero.”
- “If you have multiple bank accounts, you need a file for each account to import separately.”
If the CSV does not fit
CSV to OFX reads a bank's CSV, you confirm the columns and the date order, and it writes an OFX file. Nothing is uploaded. Xero does not say it takes our file, and we have not tested it. It does not write a CSV in Xero's layout.
- Two amount columns. A file with Money out and Money in (bank-export-ambiguous-dates.csv) becomes one signed amount per transaction, negative for money out.
- Decimal comma. A semicolon list with amounts like 1.190,00 (bank-export-de.csv) is read, and written with a dot.
- Dates. When 03/04/2026 could be 3 April or 4 March, it asks: CSV dates: day first or month first?
One account and one currency per file.
From Xero Central, as above.