# Bank file formats explained: CSV, OFX, QFX, QBO, QIF, BAI2 and NACHA

What each bank and accounting file format is, which software reads it, and which one to use when you move transactions into QuickBooks, Quicken, Xero or Excel.

By Abhishek Gupta, Founder, OpsBench AI. Published 2026-11-24. Source: https://opsbenchai.com/blog/bank-file-formats-explained

**In short:** CSV is a plain table any program can read and is what QuickBooks Online and Xero upload. OFX is the standard bank download format; QFX (Quicken) and QBO (QuickBooks Desktop) are OFX with a small Intuit addition. QIF is Quicken's old text format. BAI2 is a bank reporting format used by corporate treasury teams, and a NACHA file is an ACH payment batch, not a statement.

People run into these formats when online banking offers a download list, or when software rejects a file. Here's what each one is for.

## The quick reference

| Format | What it is | Typically read by | Use it for |
|---|---|---|---|
| **CSV** | Plain text table, one row per transaction | Excel, QuickBooks Online, Xero, most software | Uploads to cloud accounting, your own spreadsheets |
| **Excel (.xlsx)** | Spreadsheet | Excel, Google Sheets | Review, records, adding checks and notes |
| **OFX** | Open Financial Exchange, the standard bank data format | Many personal finance and accounting tools | General bank imports |
| **QFX** | OFX with Intuit's Quicken details | Quicken | Importing into Quicken ("Web Connect") |
| **QBO** | OFX with Intuit's QuickBooks details | QuickBooks Desktop (and QuickBooks Online uploads) | Importing into QuickBooks Desktop ("Web Connect") |
| **QIF** | Quicken Interchange Format, older text format | Quicken (limited), older tools | Legacy imports |
| **BAI2** | Bank Administration Institute balance and transaction report | Treasury and ERP systems | Daily bank reporting for larger companies |
| **NACHA** | ACH payment file, fixed-width records | Banks' ACH systems | Sending payroll or vendor payment batches |

## CSV: the universal table

A CSV file is just text: one line per transaction, values separated by commas. Every spreadsheet opens it, and cloud accounting tools upload it. The downside is that there is no standard layout. Each bank orders its columns differently, writes dates differently and signs amounts differently, so you often map the columns when you import.

For QuickBooks Online the simplest CSV has Date, Description and Amount. [How to import a bank statement into QuickBooks Online](/blog/import-bank-statement-into-quickbooks-online) shows the exact layout.

## OFX, QFX and QBO: the same family

OFX (Open Financial Exchange) is a structured format banks use for downloads. It carries the account, the date range, each transaction with a unique ID, and the ending balance. The unique IDs are why OFX imports can skip transactions you already have.

QFX and QBO are OFX files with an extra Intuit section that identifies the bank. Quicken expects QFX and QuickBooks Desktop expects QBO through their "Web Connect" import. In practice:

- Quicken: **File > File Import > Web Connect (.QFX) File**.
- QuickBooks Desktop: **File > Utilities > Import > Web Connect Files**.

If a bank only offers PDF statements, you can convert them to OFX. The [OpsBench Statement Converter](/statement-converter/) produces OFX for Quicken and QuickBooks Desktop, along with Excel and CSV.

## QIF: the old Quicken format

QIF is a plain text format from early Quicken. It has no unique transaction IDs, so duplicates are easy to create. Quicken still reads it for some account types, but its own bank downloads use QFX. Use QIF only when nothing else works.

## BAI2: bank reporting for treasury teams

BAI2 is a format larger companies receive from their banks every day. It reports balances and transactions across many accounts in coded records. Treasury and ERP systems read it for cash positioning and reconciliation. Small businesses rarely see it. If you're given a BAI2 file and need it in Excel, it has to be parsed record by record, because the codes and continuation lines don't open cleanly as columns.

## NACHA: a payment file, not a statement

A NACHA file (named after the organization that governs the US ACH network) is a batch of ACH payments: payroll, vendor payments, collections. It's made of fixed-width 94-character records (file header, batch header, entry details, batch control, file control). It tells the bank what to pay, not what happened in the account. To read one in Excel, split each entry detail record by its fixed character positions to get the routing number, account, amount and name.

## Which format should you choose?

- **QuickBooks Online or Xero:** CSV (or OFX/QBO if the bank offers it).
- **QuickBooks Desktop:** QBO.
- **Quicken:** QFX.
- **Your own records and review:** Excel, with a check that the transactions add up to the statement's closing balance. See [how to convert a bank statement PDF to Excel](/blog/convert-bank-statement-pdf-to-excel).

## Frequently asked questions

### Is a QBO file the same as an OFX file?

Almost. A QBO file is an OFX file with an Intuit section that identifies the bank to QuickBooks. Renaming an OFX file to .qbo usually isn't enough if that section is missing.

### Can I open an OFX file in Excel?

Not directly as a clean table. OFX is structured text with tags. Convert it, or import it into accounting software and export a report.

### What is the difference between BAI2 and MT940?

Both are bank statement reporting formats for businesses. BAI2 is common with North American banks; MT940 is the SWIFT format used widely in Europe and internationally.

### Is a NACHA file a bank statement?

No. It's an instruction file for ACH payments. The bank statement shows the result of those payments afterwards.
