PDF bank statement to OFX

Convert PDF bank statements to OFX

OFX is the standard bank statement file: no columns to match, the closing balance included, and an ID for every transaction. Make one from a PDF statement once it balances.

Drop PDF statements here

Up to 10 files, 50 pages each. Nothing is uploaded until you press Convert.

  • OFX 2 bank and card statements
  • Stable transaction IDs
  • Try 5 pages free

See pricing

Inside the OFX file

<STMTTRN>
  <TRNTYPE>DEBIT</TRNTYPE>
  <DTPOSTED>20260502</DTPOSTED>
  <TRNAMT>-84.27</TRNAMT>
  <FITID>…</FITID>
  <NAME>Grocery store</NAME>
  <MEMO>Grocery store</MEMO>
</STMTTRN>
…
<LEDGERBAL>
  <BALAMT>1500.00</BALAMT>
  <DTASOF>20260531</DTASOF>
</LEDGERBAL>

An excerpt from a fictional Sample Bank statement, indented for reading. The real file has one STMTTRN block per transaction.

What you’ll need

  • The account number, and for bank accounts the sort code, BSB or bank code. They’re written into the file so your software knows which account it’s for.
  • The three-letter currency code, such as GBP, AUD or EUR. It’s filled in from the statement when it can be read; check it before you download.
  • A closing balance on the statement. OFX files carry one, so a statement without it can’t be exported as OFX; use CSV instead.

What’s in the file

  • OFX 2.1.1 (XML) in UTF-8, as a bank or credit card statement.
  • Each transaction as a credit or debit, with its date, signed amount, the first 32 characters of the description as the name and the full description as the memo.
  • A transaction ID (FITID) that stays the same every time you export the same statement. Identical transactions on the same day still get different IDs.
  • The closing balance and statement dates. For a credit card, the balance is what’s owed, shown as a negative number as OFX expects.

Which software imports OFX

What each program’s own help says about statement files:

  • Xero: OFX, QFX, QuickBooks, QIF and CSV, and it recommends OFX over the others when the bank offers it. See the Xero page.
  • FreeAgent: OFX, QIF or CSV. Its help notes that OFX is sometimes called QuickBooks, Microsoft Money 2005 or Sage Line 50, and that a CSV may need formatting before upload.
  • Sage Accounting: OFX or ASO, QIF, CSV and XLS.
  • MYOB: QIF or OFX, not CSV; AccountRight on the desktop also reads QFX and OFC. See the MYOB import guide.
  • QuickBooks Online: CSV, TXT, QBO or OFX, with QBO suggested. See the QuickBooks page for the CSV and QBO exports.

Before you rely on it

The file is OFX 2.1.1. None of these help pages says which OFX versions it reads, so import one statement first and check that the number of transactions and the closing balance match the PDF. If your software rejects the file, export CSV instead.

How to convert a PDF bank statement to OFX

  1. 1Upload the PDF statements, up to 10 at a time and up to 50 pages each. If a file is password-protected you’ll be asked for the password; it’s used once and never stored.
  2. 2Review each statement next to its transactions. The opening balance, every transaction and the closing balance have to add up; if they don’t, the rows to check are flagged.
  3. 3Choose Export, then OFX. Enter the account number, the bank or sort code and the currency, and download the file.
  4. 4Import it in your accounting software, into the account with that number.

The closing balance in the file is the statement’s

Unlike a CSV, an OFX file states a closing balance, and the one written into the file is the statement’s. So before you export, the converter checks that the opening balance plus every transaction adds up to it, and flags the rows to check when it doesn’t. Each row links to the line on the PDF it came from.

Each transaction’s ID is made from the account, date, amount and description. The same transaction gets the same ID when you export the statement again, after adding a row that was missed, or from two statements that overlap. Xero, for one, recognises transactions already imported from other files and leaves them out.

Sources

Checked on 9 November 2026 against each company’s own help. Software menus and limits change, so if a step looks different, follow the current help.

Questions

What’s the difference between OFX, QBO and QFX?

QBO and QFX are OFX files with extra details for Intuit and Quicken software. The converter makes OFX, and QBO for QuickBooks when you supply your bank’s Intuit details. It doesn’t make QFX.

Why does it need my account number?

An OFX file says which account its transactions belong to. Accounting software uses that to put them in the right place.

What if the statement has no closing balance?

Export CSV or Excel instead. Those formats don’t need one.

Try it on one of your statements

No account needed. The file is deleted within 24 hours.

Convert a statement