Skip to content
StatementFile
Open the converter 0 bytes uploaded
Home/Formats/CSV to OFX

Bank CSV to OFX

The open format behind QBO and QFX. This page writes OFX 2.0.3 as XML, without the Intuit tags, for any reader that takes OFX.

0 bytes uploadedNo account20 transactions free
01 Upload02 Map03 Check04 Export
0 bytes uploaded
Drop a bank statement here
CSV, TSV, XLSX or XLS from Chase, Bank of America, Wells Fargo, Citi, Mercury, Wise, Capital One, Amex or any other bank. It is read in this tab and never uploaded.
CSV / XLSX inQBO, QFX, OFX, IIF outUp to 20 transactions free

No account, no email, no upload. The converter reads the file with the browser's File API, writes the output in memory and hands it to your downloads folder. Turn the network off after the page loads and it still works.

OFX 2.0.3 is XML, OFX 1.x is SGML

Banks still emit OFX 1.0.2 in an SGML dialect where most values have no closing tag. OFX 2.0.x moved to ordinary XML: every element closes, the file is UTF-8, and any XML parser can read it. That makes it the right choice when the next stop is not QuickBooks or Quicken but an accounting system, a script or an archive.

What is in the file

A sign-on block, then <BANKMSGSRSV1> or <CREDITCARDMSGSRSV1> with the account, a transaction list, and a closing balance. Each transaction carries <TRNTYPE>, <DTPOSTED>, <TRNAMT>, <FITID> and <NAME>. The currency is written as your selection, USD by default.

Where it is accepted

GnuCash, Microsoft Money, Xero's statement import and most bank-feed tooling read OFX. Software that expects QuickBooks specifically is better served by the QBO page, because those readers look for the Intuit institution id that a plain OFX file does not carry.

Import path

Getting the file into OFX.

01 / STEP

Load the statement

CSV, TSV or Excel. The header row is found even when the bank puts a summary block above it.

02 / STEP

Confirm the account

Set the account number and type. A card statement uses the credit card message set automatically.

03 / STEP

Download the .ofx

The file is written in your browser and saved to your downloads folder.

Questions

CSV to OFX questions.

Why does my accounting software reject the OFX?

Most often it wants the QuickBooks dialect. If the software asks for a .qbo, use that page: the difference is the <INTU.BID> element and the SGML body QuickBooks expects.

Is OFX 2.0.3 the current version?

OFX 2.0.3 has been the common XML release for years and is what most readers accept. OFX 2.2 changed the namespace handling and is less widely supported, so this converter stays at 2.0.3.

Does the file include a closing balance?

Yes, taken from the running balance column when your export has one. Without a balance column the ledger balance is written as 0.00, which readers treat as unknown.