BAI2CSV
MT940 to CSV converter
Open a SWIFT customer statement in the browser. Booked lines are checked against the opening and closing balances when both tags are present.
Drop a file here, or choose one from this computer
Up to 24 files, 8 MB each. .txt, .sta, .mt940, and .940. 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
Step 1
Drop a statement or paste the tags
Use .txt, .sta, .mt940, or .940. A synthetic two-statement sample is on the page and is not from a bank.
Step 2
Check reversals and dates
C and D are credit and debit. RC reverses a credit, so it is a debit. RD reverses a debit, so it is a credit. The mark stays visible.
Step 3
Export the same columns as BAI2
AsOfDate is the value date. The entry date is shown in the table because the CSV column list does not have a separate field for it.
What this page does
Comma decimals
1000,50 is 1000.50. If a line uses a dot and no comma, it is labeled as a dialect instead of being quietly treated as standard SWIFT.
Several statements
A file can hold more than one :20: block and more than one :25: account. Balances and currency stay with that statement.
Reconciliation
Opening balance plus booked entries is compared with the closing balance. Expected items marked EC or ED are parsed and left out of that sum. A missing closing tag stays unverified.
Unsupported tags
A tag this reader does not use is named in a warning. It is not turned into a guessed transaction.
Questions
Is MT940 the same file as BAI2?
No. MT940 is a SWIFT customer statement with tagged fields. BAI2 is the cash-management record format. This page reads MT940. The other pages read BAI2.
How are RC and RD posted?
RC is a reversal of a credit and reduces the balance. RD is a reversal of a debit and increases it. The original mark is kept so the reversal is not applied twice.
What happens at the new year?
The entry date is only MMDD. If the value date is in January and the entry month is December, the entry year is the previous year. The opposite boundary rolls forward.
Why might QBO be unavailable?
OFX needs a bank identifier. If :25: has no institution code before a slash, this page will not invent an ABA routing number. A BIC is not rewritten into a fake US routing number. When a file is produced, its ledger balance is the :62: closing amount and date, not a sum of the statement lines.
Does a green reconciliation mean the bank accepted the file?
No. It means the balances and the booked lines in this file agree with each other. It does not contact the bank.
Can descriptions span several lines?
Yes. :86: text continues until the next tag, and a narrative line that follows :61: is kept. Slashes inside references stay, because the bank reference starts at the double slash.
Which banks' extra tags are supported?
The common statement tags are read. A proprietary tag is reported as unsupported. That warning is intentional. The page does not claim every bank dialect.
Related tools
BAI2 to CSV converter
Export the same local parse as a standard CSV table.
BAI2 file viewer
Read balances, references, and control checks before you download.
Convert BAI2 to Excel
Download a UTF-8 CSV that keeps long account numbers as text.
BAI2 type codes
Look up uniform credit, debit, and status names, including vendor aliases.