Convert a BAI2 file to Excel or CSV
Drop the BAI2 file your bank gave you. You get one row per transaction, with its type, the amount, a signed amount and the bank's references, and the balances beside them.
From an e-mail: save the attachment to Files first, then choose it here.
Nothing is uploaded
The file is read in your browser and the result is made on your device. No upload, no account, no cookie, no analytics script.
To check, switch off Wi-Fi once the page has loaded; the tool keeps working. The page's security policy blocks most background requests, but it is not a complete guarantee by itself (WebRTC, for example, is not covered). Privacy page
What you get
The workbook has five sheets: Transactions, Balances, Accounts, Groups and Files. The CSV holds the transactions; a ZIP holds one CSV for each sheet.
Amounts and dates
BAI2 amounts have no decimal point: the currency says how many decimals are implied. Dates have two digits for the year. Where a file leaves the century or the decimals of a currency unsettled, the tool asks you, with an example. How everything else was read is listed under the result. The signed amount shows credits as plus and debits as minus, read from the type code; it is empty where the file wrote a sign of its own or where the type code does not say credit or debit.
Limits
- A file may be up to 100 MB; a result up to one million rows.
- A control total or record count that differs from the one worked out is shown as a warning. Banks may total in other ways.
- A repeat across files is marked in "Also listed in", not removed. A BAI2 file has no transaction ID, so a repeat is only a likeness.
- Group status, such as a correction or a deletion, is shown and not applied.
- Tested with files we made, not with files from a bank.
Sample files
Made up for this page: no real bank, account or person.
- bai2-sample-single-account.bai - one account with six transactions
- bai2-sample-multi-group.bai - two groups, three accounts
- bai2-sample-multi-currency.bai - four accounts in four currencies
- bai2-sample-overdrawn.bai - an account with a negative balance
- bai2-sample-funds-availability.bai - amounts with funds availability
- bai2-sample-fixed-length.bai - every record padded to 80 characters
- bai2-sample-two-digit-year-99.bai - a date in the year 99
- bai2-error-missing-49.bai - an account without its closing record
For other bank files: MT940 to Excel, OFX, QFX or QBO to CSV, CAMT.053 to Excel.
Every record, with a sample read line by line: BAI2 file format.
BAI2 is the file format of the Cash Management Balance Reporting Specifications (BAI; now ASC X9).