B2BAI2CSV
Menu

BAI2CSV

BAI2 to CSV converter

Open a .bai, .bai2, or .txt file in this browser. Amounts stay exact, and nothing in the file is uploaded.

Drop a file here, or choose one from this computer

Up to 24 files, 8 MB each. .bai, .bai2, and .txt. Nothing is uploaded.

No file loaded yet. The table and downloads appear after a file, paste, or synthetic sample is read.

How to use this page

  1. Step 1

    Open the file

    Drop up to 24 files, or paste the text. Sample files on this page are synthetic and are labeled that way.

  2. Step 2

    Read the checks

    A green row means that check was in the file and the numbers matched. A missing balance stays unverified.

  3. Step 3

    Download CSV

    The table exports AsOfDate through RemittanceDescription, with credits and debits in separate columns.

What this page does

Local parse

The file is read in this tab after the page has loaded. There is no upload endpoint and no account sign-in.

Control totals

Record 49 is checked as a sum of amount fields, not as a closing balance, and funds-type amounts are left out of that sum.

Exact amounts

USD, CAD, GBP, EUR, and AUD use two decimals. JPY and KRW use none. BHD, KWD, and OMR use three. Values are not rounded through floating point.

Several accounts

Use All Accounts Merged or pick one account. Each account keeps the group as-of date and the originator identifier, including leading zeros.

Questions

Does this BAI2 to CSV converter upload my statement?

No. The parser runs in your browser. The file text is kept in memory for the table and the download. It is not written into the service-worker cache or sent to analytics.

Why are the amounts in the raw file missing a decimal point?

BAI2 stores an implied decimal. A USD field of 100000 is 1,000.00. The currency on the group or account record decides the scale. JPY stays a whole number.

What does a green check mean?

It means that piece of data was present and the comparison matched. If a trailer or a balance code is absent, the row stays unverified. A format error blocks the arithmetic instead of painting it green.

How are credits and debits chosen?

Codes 101-399 are credits and 401-699 are debits, using the October 2005 BAI ranges. An explicit minus sign is kept and applied once. The screen warns you instead of flipping the sign a second time.

Can I convert more than one account?

Yes. A file can contain several groups and accounts. All Accounts Merged stacks them in file order. You can also export one account.

Which date is written to AsOfDate?

BAI2 detail lines do not carry their own posting date. AsOfDate is the group as-of date. Two-digit years use 1970-2069, so 26 is 2026 and 99 is 1999.

Is the CSV safe to open in Excel?

The standard CSV keeps account numbers exactly as parsed. Excel may drop leading zeros if you double-click it. Use the Excel download on the Excel page when you need those values kept as text, and read the limits printed next to that button.

Related tools

Optional analytics stay off until you allow them. File contents are not part of the measurement. The privacy page describes what a granted choice loads.