Turn a BAI2 cash management file into a clean CSV file, ready for Excel, Google Sheets or any accounting import. Free, no signup, no file size limit.
.bai, .bai2 and .txt accepted
A BAI2 file is comma separated, so the obvious shortcut is to rename it .csv and open it
directly. That fails, because BAI2 is a record format, not a table: every line starts with a two
digit record code that changes the meaning of every field after it. A spreadsheet has no idea that
16 means "transaction detail" and 03 means "new account", so unrelated data
lands in the same columns and the file is unreadable as a plain CSV.
Two more problems compound it: amounts are stored in cents with no decimal point (a
$100,000.00 wire is 10000000), and credit/debit direction is not a field at all — it is
encoded in the transaction type code (100–399 credit, 400–699 debit). This converter
fixes all three issues and outputs a real, one-row-per-transaction CSV.
01 — File header: sender, receiver, creation date02 — Group header: as-of date and currency03 — Account identifier, plus opening/closing ledger and available balances16 — Transaction detail: type code, amount, bank reference, customer reference, text88 — Continuation: appended to the previous record so long descriptions stay intact49 / 98 / 99 — Account, group and file trailersNo. There is no server component and no upload endpoint. The file is read by JavaScript in your own browser — you can check your browser's network tab, or use the page offline.
BAI2 stores amounts in the currency's minor unit — cents for USD — with no decimal point. If you opened the raw file directly, that is why the numbers looked a hundred times too big. This converter divides by 100 automatically.
Use comma for US/UK Excel and most software. Use the semicolon download if your Excel is set to a European locale, where the comma is the decimal separator and a comma-delimited CSV would open with every amount split across two columns.
Yes — the Excel button produces a SpreadsheetML (.xls) file with amounts typed as numbers, which Excel, LibreOffice and Google Sheets all open directly.