Free BAI2 file viewer
Read any BAI2 file, account by account.
Upload a BAI2 file to analyze its structure and contents: balances, transactions and every type code, checked against the BAI2 specification. All processing happens locally in your browser - no data is sent to any server.
- Balances & transactions per account
- Every type code explained
- Control totals checked
Drag & Drop BAI2 File HereOpen a BAI2 file
Or click to browse. Accepts .bai, .bai2 and .txt — any BAI2 text file
More samples:
100% in-browser.
Your file never leaves this device.
Parsed on your device
JavaScript on this page reads the file. Nothing is uploaded, stored or transmitted.
No account, no cost
Every tool is free to use. No sign-up, no paywall, ever.
Open about usage
Our public analytics show exactly what we count — never what your files contain.
Anatomy of a BAI2 file
Commas, codes and continuations, decoded.
BAI2 is comma-delimited: each line starts with a two-digit record code, commas separate the fields and a slash ends the record. Fields have numbers, not positions — the viewer names, decodes and checks every one.
- Routing & IDs
- Amounts
- Dates
- Names & text
- Codes
- Reserved
Lines 07–09 · one transaction
Transaction Detail, field by field
- 1Record code
16Transaction Detail - 2Type code
115Lockbox Deposit, a credit - 3Amount
451257545,125.75 USD — two implied decimals - 4Funds type
SDistributed availability: three amounts follow - 5Available now
250000025,000.00 - 6In one day
150000015,000.00 - 7In two days or more
5125755,125.75 - 8Bank reference
LBX204417On the first 88 line - 9Customer reference
BATCH 0007Spaces are part of the value - 10Text
LOCKBOX 4417 DEPOSIT, 23 CHECKS …Runs to the end of the record, commas included, across both 88 lines
A short BAI2 primer
Eight record types, one nested report.
BAI2 is how banks report balances and transactions to their corporate customers, typically a final report for the previous day and interim reports during the day. Every file nests the same way.
- 01File HeaderWho sent the file and when, the file ID, and version 2.
- 02Group HeaderOne per originating bank and as-of date: status, as-of date and time, currency.
- 03Account IdentifierAccount number, currency, balances (status codes) and summary totals.
- 16Transaction DetailOne per transaction: type code, amount, availability, references, text.
- 88ContinuationCarries the rest of the record above it onto another line.
- 49Account TrailerCloses the account: control total and number of records.
- 98Group TrailerCloses the group: control total, accounts and records.
- 99File TrailerCloses the file: control total, groups and records.
Amounts have no decimal point
The currency implies the decimals:
150000is 1,500.00 in USD, 150,000 in JPY and 150.000 in KWD.Type codes say what an amount is
001–099balances,100–399credits,400–699debits,900–999bank-defined.Funds types add fields
Sadds three availability amounts,Va value date and time,Da list of days and amounts.Trailers prove the totals
Each 49, 98 and 99 carries a control total and record count. The viewer recomputes every one and shows the difference.
What it shows
From raw lines to a readable statement.
Every view shares one selection: pick a transaction in the statement and the tree, its raw line and its fields follow.
No. 01
Statement
Balances from every status code, summary totals, and each transaction with its type, credit or debit, amount, references and full text — account by account.
No. 02
Structure
The file as a tree: groups, accounts, transactions, trailers and the 88 lines under each record, with a field-by-field record view.
No. 03
Raw data
Every line color-coded field by field. Hover or select a field for its number, decoded value and what the specification says.
No. 04
Validation
Every account, group and file control total and record count recomputed, plus field formats, type codes and record order — with the line to fix.
Related tools
More free tools for payment files.
The same private, in-browser approach for the other formats that land on an operations desk.
ACH · NACHA files
NACHA Viewer
Decode every record field by field, check control totals, hashes and routing check digits, and build reversal files.
.ach · .txt
- New
X9.37 · Image cash letter
X9 Viewer
Open X9.37 check image files in your browser: every item’s front and back images, its MICR line and the records behind it.
.x9 · .x937 · .icl
Build files · REST API
NACHA Generator
Build a valid NACHA file with a visual form, or from JSON with the REST API. Control totals, entry hash and block padding are done for you.