Bank Statement Formats: MT940, BAI2, CAMT.053, OFX and QIF

The machine-readable bank statement formats, what each is for, and when converting a PDF is the only option.

Before converting a PDF, it is worth checking whether your bank offers a machine-readable format. If it does, that is strictly better than parsing a document designed for humans.

The formats

FormatOriginTypically used for
MT940SWIFTCorporate cash management, widely used in Europe
CAMT.053ISO 20022The modern XML successor to MT940
BAI2Bank Administration InstituteUS corporate cash reporting
OFXOpen Financial ExchangeConsumer accounting software
QFXIntuit's OFX variantQuicken and QuickBooks
QIFQuicken Interchange FormatLegacy, still widely accepted
CSVn/aUniversal, but non-standard per bank

Why they are better than a PDF

A machine-readable format states its own structure. There is no ambiguity about which field is the amount, what the date format is, or whether a value is a debit or a credit. Everything a PDF parser has to infer is explicit.

MT940 and CAMT.053 also carry structured transaction type codes, and CAMT.053 carries full SEPA remittance information in labelled fields.

Why people still convert PDFs

The one advantage a PDF has

A PDF statement is the bank's own published document, which makes it the authoritative record for audit purposes. A machine-readable extract is derived data. For most workflows this does not matter — but where a document has to be defensible, the PDF is the source.

What each format actually carries

FormatStructured references?Multi-account?Balances?
CAMT.053Yes, full SEPA remittance dataYesOpening, closing and interim
MT940Partly, in tag 86One per messageOpening and closing
BAI2Type codes, limited free textYesYes, with detailed type codes
OFX / QFXBasic memo fieldYesLedger and available
QIFMemo onlyNoNo
PDFAs printed, needs parsingOften, as sectionsYes, as printed

QIF is the weakest of these and still widely used, largely for historical reasons. If you have a choice, almost anything else is better.

Availability in practice

Retail customers can generally get CSV and sometimes OFX. MT940, CAMT.053 and BAI2 are corporate cash-management products, usually requiring a business banking package and sometimes a monthly fee.

Frequently asked questions

Which format should I ask my bank for?

CAMT.053 if available — it is the current ISO standard and carries the richest data. MT940 is the widely supported older option.

Is QIF good enough?

It is the weakest of the machine-readable formats — no account identification, no structured references, and no standard date format. Prefer anything else where available.

Can you convert MT940 or BAI2 files?

Those formats are already structured, so they do not need conversion — most accounting software imports them directly.

Related posts

Convert a statement now

Bank Statement PDF to OFX, or see every format. More in the guides.