How to convert a PDF bank statement to OFX
A bank statement PDF can’t be imported as it is, so the transactions have to be read from it and written into an OFX file. Then import the file into QuickBooks® Online, Xero or GnuCash. Quicken® for Windows and QuickBooks Desktop don’t take a plain OFX file.
By Boldsand Software Inc., makers of Sheets Converter. Checked on .
What an OFX file is
OFX (Open Financial Exchange) is a text format banks use to send transactions to accounting software. QFX (Quicken) and QBO (QuickBooks Web Connect) are Intuit’s versions of it. One OFX file holds one account: its number and currency, the statement period, the closing balance, and each transaction with its date, amount, name and an ID. This is one transaction from an OFX file:
<STMTTRN>
<TRNTYPE>CREDIT
<DTPOSTED>20260301120000
<TRNAMT>2500.00
<FITID>bf5a248b009bbfbd8e3a2eef66c9d675
<NAME>Payroll deposit
<MEMO>Payroll deposit
</STMTTRN>The ID (FITID) lets the software tell transactions apart. Xero recognises duplicate transactions already imported in other files and excludes them
.
Which programs import OFX
| Program | Imports OFX? | What it says |
|---|---|---|
| QuickBooks® Online | Yes | Upload from file takes .csv, .txt, .qbo, or .ofxfiles, up to 1,000 lines and 350 KB each. |
| Xero | Yes | We recommend using an OFX file where possible. |
| GnuCash | Yes | File, Import, Import OFX/QFX transactions. |
| QuickBooks® Desktop | No | Bank data comes in as Web Connect (.qbo) files from your bank. See importing into QuickBooks Desktop. |
| Quicken® for Windows | No | Quicken cannot import Excel (.xls), QuickBooks, PDF, or OFX files.Use a CSV instead. |
Convert the PDF to OFX
- Open Sheets Converter with OFX chosen and add the statement PDF.
- Sheets Converter reads the transactions and checks every row against the balances printed on the statement.
- Download the .ofx file and import it into your accounting software.
OFX is offered for digital statements that print the account number, the currency, the statement period and the closing balance. Credit card statements get a card OFX file, with purchases as money out. For Quicken® for Windows, download the CSV for Quicken (Windows) instead.
Excel or CSV to OFX
To turn a CSV or an Excel file into OFX, use the free CSV and Excel to OFX converter. If you already have the transactions in a CSV, you may not need an OFX file: QuickBooks® Online and Xero both import CSVs (see the QuickBooks Online CSV guide and the Xero import guide). To go the other way, the free OFX to CSV and Excel converter turns an OFX, QFX or QBO file into a spreadsheet.
Check the file before you import it
The closing balance in the OFX file should equal the closing balance printed on the statement, and the transactions should add up to the difference between the opening and closing balances. After the import, compare the account’s balance in your software with the statement. The reconciliation guide shows how to find a difference.
Sources
- Intuit: Manually upload transactions into QuickBooks® Online
- Xero Central: Import OFX, QFX or QuickBooks bank transactions
- Xero Central: About manually importing bank transactions
- Quicken: How do I import data into Quicken for Windows?
- GnuCash manual: Importing Transactions from Files
- Intuit: Import and export data in QuickBooks® Desktop
Related guides
- How to convert a bank statement PDF to CSV: Three ways to get a CSV, the layouts QuickBooks® and Xero take, the mistakes that break an import, and the check.
- How to convert a credit card statement PDF to Excel or CSV: Three ways to get the transactions, which way the signs go in QuickBooks® and Xero, and how to check the new balance.
- Import a bank CSV into QuickBooks Online: the format and limits: Intuit’s file rules, the upload steps, and how to add older transactions.
Have the statement as a PDF?
Convert it to OFX, Excel or CSV, and every row is checked against the balances the bank printed.
Convert a PDF to OFX