CSV to OFX Converter
Make an OFX bank statement from a CSV or Excel export, for any finance app that imports OFX: GnuCash, Moneydance, Banktivity, Microsoft Money and more.
Drop your CSV / Excel file here
or click to browse
Bank only gives you a PDF statement? Convert the PDF to QBO with StatementConverterAI.
How to convert a CSV to OFX
Drop the CSV or Excel file
The header row and date format are detected; balance and summary lines without a date drop out.
Pick the columns
Choose the date, the description and either one signed Amount column or separate Debit & Credit columns, which are detected automatically. Optionally set the account number and currency.
Import the OFX
Open your finance app's OFX import and pick the downloaded file and the account it belongs to.
What goes into an OFX 1.02 file
The converter writes an OFX 1.02 statement: a sign-on block, one bank account (the bank ID, account number and currency you enter, or neutral defaults), the date range of your rows, and one STMTTRN per transaction with these tags:
| OFX tag | What it holds | Example |
|---|---|---|
TRNTYPE | CREDIT for money in, DEBIT for money out, from the sign of the amount | DEBIT |
DTPOSTED | The transaction date as YYYYMMDD, whichever date layout the CSV used | 20260107 |
TRNAMT | The signed amount with two decimals, negative for money out | -120.33 |
FITID | A transaction ID built from the date, amount and description, so the same row always gets the same ID | 20260107EKYXQD |
NAME / MEMO | The description: up to 32 characters in NAME, and the full text in MEMO when it is longer | Electric Bill |
CURDEF / ACCTID | The currency and account number you enter; USD and UNKNOWN-ACCOUNT when left empty | USD |
A CSV row 01/07/2026, Electric Bill, -120.33 becomes:
<STMTTRN> <TRNTYPE>DEBIT <DTPOSTED>20260107 <TRNAMT>-120.33 <FITID>20260107EKYXQD <NAME>Electric Bill </STMTTRN>
A longer description such as AMAZON MKTPLACE PMTS AMZN.COM/BILL WA keeps its first 32 characters in NAME and the whole text in MEMO, so nothing is lost in apps that show the memo.
OFX vs QFX vs QBO vs QIF
| Format | Made for | Intuit bank ID (INTU.BID) | Skips repeat imports | Convert a CSV |
|---|---|---|---|---|
| OFX | GnuCash, Moneydance, Banktivity, Xero, Wave, KMyMoney, HomeBank, Microsoft Money | Not needed | Yes, by FITID | This page |
| QFX | Quicken for Windows and Mac (Web Connect) | Required; Quicken refuses a file without one | Yes, by FITID | CSV to QFX |
| QBO | QuickBooks Online and QuickBooks Desktop (Web Connect, Bank Feeds) | Required by QuickBooks Desktop | Yes, by FITID | CSV to QBO |
| QIF | Older Quicken versions, GnuCash, Microsoft Money, manual accounts | None | No; importing twice duplicates | CSV to QIF |
OFX, QFX and QBO share the same statement body; the Intuit bank ID is what Quicken and QuickBooks check before reading it. QIF is an older plain-text format with no transaction IDs.
Converting Excel (.xlsx) to OFX
Drop the workbook as it is; there is no need to save it as CSV first. The first worksheet is read in your browser. Cells formatted as dates come through as dates, including workbooks that use the 1904 date system from older Mac Excel, and title rows above the table or balance rows without a date are skipped. An Excel 97–2003 .xls file has to be saved as .xlsx or CSV first.
Importing OFX into GnuCash, Moneydance, Banktivity and Xero
- GnuCash: File > Import > Import OFX/QFX, pick the file, then choose the GnuCash account for the statement. The matcher then asks which income or expense account each new payee goes to and remembers the answers.
- Moneydance: File > Import and select the file, or drag it onto the account in the sidebar. Moneydance asks which account it belongs to; tick Remember this Choice to skip the question next time.
- Banktivity: File > Import Transactions, click Import File and select the OFX.
- Xero: Accounting > Bank accounts, open Manage Account on the account, choose Import a Statement, then Browse to the file and click Import.
- Wave: Accounting > Transactions > More > Upload transactions, then choose the file. Wave prefers OFX to CSV.
Debit & Credit columns and troubleshooting
- Separate Debit and Credit columns. The mapping step switches to Debit & Credit columns when the headers (or the data) show them. Debit is money out and Credit is money in; a debit written as 42.19 or -42.19 is money out either way.
- Dates on the wrong day or month. Day-first dates are detected when at least one date in the file has a day above 12. If every date is 12 or lower, the file is read month-first, the US layout; reformat the date column as YYYY-MM-DD in Excel if your dates are day-first.
- Credit card signs. Card exports often list charges as positive numbers. With one Amount column they would import as payments, so make charges negative in the spreadsheet first, or use Debit & Credit columns if the export has them.
- Garbled characters. The CSV is read as UTF-8. If accented payee names look wrong in the preview (Caf� instead of Café), save the file from Excel as CSV UTF-8 and drop it again.
- Missing rows. Rows without both a date and an amount are left out on purpose; check that the right columns are picked if transactions are missing.
Related converters
- CSV to QFX
The same statement with an Intuit bank ID, for Quicken.
- CSV to QBO
A Web Connect file for QuickBooks Online and Desktop.
- Excel to QBO
Import an .xlsx sheet of transactions into QuickBooks.
- OFX to CSV
Open an OFX download in Excel or Google Sheets.
- OFX to QBO
Turn a bank's OFX download into a QuickBooks file.
- CSV to IIF
Write transactions straight into a QuickBooks Desktop register.
Frequently asked questions
Which apps import the OFX file?
Any app that reads OFX bank statements: GnuCash (File > Import > Import OFX/QFX), Moneydance (File > Import), Banktivity (File > Import Transactions), Xero (Manage Account > Import a Statement), Wave (Transactions > More > Upload transactions), Microsoft Money Plus Sunset, HomeBank, KMyMoney and QuickBooks Online's bank upload, among others. Quicken wants the QFX flavour instead.
Which OFX version is the file?
OFX 1.02 (SGML), the version every importer reads. It holds one bank statement with the account number, currency, dates and a unique ID per transaction.
Is OFX the same as QFX or QBO?
The body is the same. QFX adds an Intuit bank ID for Quicken, and QBO adds one for QuickBooks. If you're importing into Quicken use CSV to QFX; for QuickBooks Desktop use CSV to QBO.
Will importing the same transactions twice duplicate them?
Not in apps that honour OFX transaction IDs. Each row gets an ID from its date, amount and description, so converting the same rows again gives the same IDs.
Can I convert Excel to OFX?
Yes. Drop an .xlsx file; the first worksheet is read, dates included.
My bank export has separate Debit and Credit columns. Do I need to combine them?
No. The converter spots Debit and Credit (or Withdrawals and Deposits) columns and switches the mapping step to Debit & Credit columns; you can also pick that switch yourself. Each row becomes one signed amount in the OFX: negative for a debit, positive for a credit, whether the bank prints the debit as 42.19 or -42.19.
Can I use the OFX for a credit card instead of a bank account?
The OFX is written as a bank statement. GnuCash lets you import it into a credit card account; Moneydance only offers bank-type accounts for it. Check the signs first: many card exports list charges as positive numbers, which would import as payments. Use Debit & Credit columns if the export has them, or make charges negative in the spreadsheet before converting.