What is an OFX file?

An OFX file is a bank or credit card statement in the Open Financial Exchange format, a standard created in 1997 by Intuit, Microsoft and CheckFree. It lists transactions with a date, amount, payee and unique ID, and is imported by Quicken, QuickBooks (as QBO), GnuCash, Moneydance, Xero and many other apps.

Two flavors: SGML (1.x) and XML (2.x)

OFX 1.x (e.g. 1.0.2) OFX 2.x (e.g. 2.2)
Syntax SGML — leaf tags are not closed XML — every tag is closed
Header Plain text lines (OFXHEADER:100 …) <?xml …?> and <?OFX …?>
Support Almost universal Most modern apps

Most banks still produce OFX 1.0.2, so it is the safest choice when you create a file.

Structure of a bank statement OFX

OFXHEADER:100
DATA:OFXSGML
VERSION:102
...
<OFX>
  <SIGNONMSGSRSV1> … sign-on response … </SIGNONMSGSRSV1>
  <BANKMSGSRSV1>
    <STMTTRNRS>
      <STMTRS>
        <CURDEF>USD
        <BANKACCTFROM> bank ID, account ID, account type </BANKACCTFROM>
        <BANKTRANLIST>
          <STMTTRN> one transaction </STMTTRN>
          …
        </BANKTRANLIST>
        <LEDGERBAL> balance and date </LEDGERBAL>
      </STMTRS>
    </STMTTRNRS>
  </BANKMSGSRSV1>
</OFX>

Credit card statements use CREDITCARDMSGSRSV1, CCSTMTRS and CCACCTFROM instead.

Transaction fields

Tag Meaning
TRNTYPE Type, such as DEBIT, CREDIT or CHECK
DTPOSTED Posting date, YYYYMMDD optionally followed by time
TRNAMT Amount; negative is money out
FITID Unique transaction ID used to detect duplicates
CHECKNUM Check number, if any
NAME Payee (32 characters max in OFX 1.x)
MEMO Extra description
  • QFX — OFX for Quicken, with an Intuit bank ID.
  • QBO — OFX for QuickBooks, with an Intuit bank ID.
  • QBO vs QFX vs OFX — which one you need.

Convert a CSV to OFX →

Frequently asked questions

How do I open an OFX file?

Import it into a finance app such as Quicken, GnuCash or Moneydance. To read it as a spreadsheet, convert it with the OFX to CSV converter and open the result in Excel.

What is the difference between OFX 1.x and 2.x?

OFX 1.x uses SGML, where many tags are not closed. OFX 2.x is XML, so every tag is closed and the file starts with an XML declaration. The transaction data is the same.

Updated 2026-11-28