Back to all posts
OFX to Excel: How to Open OFX Files in Excel

OFX to Excel: How to Open OFX Files in Excel

Published on July 11, 2026 by CapyParse Team

You downloaded transactions from your bank, double-clicked the .ofx file, and Excel either refused to open it or filled the screen with markup soup. Nothing is wrong with your file or your copy of Excel. OFX simply is not a spreadsheet format, and Excel has no importer for it. This guide explains exactly why the import fails, then walks through three working ways to get OFX data into Excel: a free browser converter that produces a ready-made workbook, a manual Power Query route for the patient, and a direct PDF path for people whose "OFX file" turns out to be a PDF statement.

Quick Summary

Excel cannot open .ofx files natively because OFX is SGML or XML financial markup, not tabular data. The fastest fix is the free CapyParse OFX to Excel converter, which turns your file into a clean XLSX workbook in seconds. Manual import through Power Query works only for newer XML-based OFX files and still needs heavy cleanup. If what you actually have is a PDF statement, convert the PDF directly instead.

Why Excel Cannot Open OFX Files

OFX stands for Open Financial Exchange. It is a data interchange format created in 1997 by Microsoft, Intuit, and CheckFree so that banks and personal finance software could exchange transactions in a machine-readable way. The key word is machine-readable. An OFX file describes your transactions with nested tags, not with rows and columns, so a spreadsheet application has nothing to grab onto.

Here is what actually happens when you try to open one in Excel:

  • Double-clicking the file: Windows and macOS usually do not associate .ofx with any application, so you get an "open with" prompt. Picking Excel launches the Text Import Wizard, which crams every tag into column A as plain text.
  • Forcing it open as XML: If the file is a newer XML-based OFX, Excel offers to open it "As an XML table" and then explodes the nested structure into dozens of metadata columns, with dates and amounts left as unformatted text.
  • Older OFX files fail outright: Many banks still export OFX version 1.x, which is SGML rather than XML. SGML tags have no closing counterparts, so Excel's XML parser reports an error and stops. No amount of renaming fixes this.

In short, the file format and the application are speaking different languages. Something has to translate. That translation is the entire job of an OFX to Excel converter, and it is also what you would be doing by hand with Power Query. This article focuses on the specific task of opening OFX data in Excel; for the wider view of output formats and conversion options, see our complete OFX to CSV and Excel guide.

What Is Inside an OFX File?

Knowing what the file contains makes every method below easier to follow. If you open an OFX file in a plain text editor such as Notepad or TextEdit, you will find a header block followed by nested tags describing your bank, your account, and each transaction. A single transaction looks something like this:

<STMTTRN>
  <TRNTYPE>DEBIT
  <DTPOSTED>20260702120000
  <TRNAMT>-54.20
  <FITID>2026070200387
  <NAME>COFFEE ROASTERS LLC
  <MEMO>CARD PURCHASE
</STMTTRN>

Each STMTTRN block is one transaction. TRNTYPE is the transaction type, DTPOSTED is the posting date in compact YYYYMMDD form, TRNAMT is the signed amount (negative for money out, positive for money in), FITID is the bank's unique transaction identifier, and NAME and MEMO carry the payee and description. Notice that in this OFX 1.x example the inner tags never close. That is legal SGML and completely illegal XML, which is why so many manual import attempts die on the spot.

One more useful fact: QFX files from Quicken and QBO files from QuickBooks use the same Open Financial Exchange structure with a different extension, so everything in this guide applies to them too. For a full breakdown of how these formats compare, read our QBO vs OFX vs CSV guide.

Method 1: Use the Free CapyParse OFX to Excel Converter

The fastest route from .ofx to a working spreadsheet is the free CapyParse OFX to Excel converter. It runs entirely in your browser, needs no signup, and handles both OFX 1.x (SGML) and OFX 2.x (XML) files, along with QFX and QBO.

1

Upload Your OFX File

Open the OFX to Excel converter and drag your .ofx, .qfx, or .qbo file onto the upload area. The file is processed in your browser rather than being sent to a server, which matters when the contents include account numbers and transaction history.

2

Preview Your Transactions

The converter parses the markup and lays your transactions out in a sortable preview table: date, description, amount, type, memo, and FITID. If the file contains more than one account, each account appears on its own tab. Give it a quick scan to confirm everything looks right before you download.

3

Download the Excel Workbook

Choose Excel (.xlsx) and download. You get a clean workbook with one worksheet per account, real date cells instead of YYYYMMDD strings, properly signed numeric amounts, and the payee, memo, and FITID fields in their own columns. If you would rather have plain CSV for an accounting import, the companion OFX to CSV converter produces that instead.

The whole process takes well under a minute, and there is nothing to clean up afterward. Dates sort correctly, amounts sum correctly, and pivot tables work immediately. That last point is the real difference from manual import, where the data arrives as text and every downstream step fights you.

Method 2: Import OFX into Excel Manually with Power Query

If you prefer to stay inside Excel and your file is a newer XML-based OFX (version 2.x), you can import it with Power Query, which ships with Excel 2016 and later under Data > Get Data. Be warned: this route works, but it is fiddly, and it does not work at all for SGML-based OFX 1.x files.

1

Check Which OFX Version You Have

Open the file in Notepad or TextEdit. If the first line starts with an XML declaration and the header mentions OFXHEADER 200 or higher, you have an XML file and can continue. If you see a plain-text header like OFXHEADER:100 and tags without closing counterparts, you have SGML, and Excel's XML tools cannot parse it. Skip to Method 1.

2

Load the File with Power Query

Make a copy of the file and rename the extension from .ofx to .xml. In Excel, go to Data > Get Data > From File > From XML and select the renamed copy. Power Query opens the Navigator showing the file's nested structure.

3

Drill Down to the Transaction Records

Your transactions live several layers deep, typically under BANKMSGSRSV1, then STMTTRNRS, then STMTRS, then BANKTRANLIST, then STMTTRN. In the Power Query editor, keep expanding the nested table and record columns until each STMTTRN becomes one row. Delete the surrounding metadata columns you do not need.

4

Fix the Dates and Amounts

DTPOSTED arrives as text like 20260702120000. Extract the first eight characters, then convert them with a date transformation or a formula. Change the TRNAMT column type to decimal number. Finally, load the query to a worksheet and format the columns. Expect to repeat some of this whenever your bank tweaks its export.

Where Manual Import Breaks Down

  • OFX 1.x is SGML, not XML. Tags never close, so XML parsers reject the file with an error before you see a single transaction. A large share of bank exports still use this version.
  • The header can trip parsers even on 2.x files. Some banks prepend non-XML header lines that you must delete in a text editor before Excel will accept the file.
  • Everything imports as text. Dates, amounts, and IDs all need type conversions before sorting, summing, or pivoting works.
  • Multi-account files get messy. Checking and savings transactions arrive tangled in the same nested structure, and separating them cleanly takes extra query steps.

Manual import is a reasonable choice if you enjoy Power Query, need a repeatable refresh from the same bank every month, and know your bank exports valid OFX 2.x. For a one-off conversion, it is nearly always slower than uploading the file to a converter.

Method 3: When Your Statement Is Actually a PDF

A surprising number of people searching for "OFX to Excel" do not have an OFX file at all. They have a PDF bank statement, because their bank either never offered an OFX download or only offers it for a short recent window while older months are PDF-only. If that is your situation, converting the PDF directly skips the OFX step entirely.

CapyParse's bank statement converter reads PDF statements from thousands of banks and turns them into Excel, CSV, or QBO files. Upload the PDF, review the extracted transactions in an interactive preview where you can edit any row before exporting, and download the format you need. It handles multi-month batches, so a full year of statements becomes one consistent workbook instead of twelve copy-paste sessions.

This route also solves the history problem. Banks typically keep several years of PDF statements available even after transaction downloads have aged out, so the PDF is often the only machine-recoverable record of older activity.

Comparing the Three Methods

Method Handles OFX 1.x (SGML) Handles OFX 2.x (XML) Effort Result
CapyParse OFX to Excel converter Yes Yes Upload and download Clean XLSX workbook, formatted dates and amounts, one sheet per account
Manual Power Query import No Yes, with cleanup High: rename, expand nested records, convert types Raw columns that need reformatting before use
Convert the PDF statement instead No OFX needed No OFX needed Upload, review, export Excel, CSV, or QBO from any PDF statement, including old months

Get Your OFX Data Into Excel Now

Upload your OFX, QFX, or QBO file and download a clean Excel workbook in seconds. Free and browser-based, no signup required.

Convert OFX to Excel

Converting PDF bank statements too? View pricing for statement conversion plans.

Troubleshooting Your Converted Data

Whichever method you use, a few OFX conventions surprise people the first time. Here is how to read what you are seeing:

Dates Look Like 20260702

OFX stores dates as YYYYMMDD strings, often with a time and timezone appended, such as 20260702120000[0:GMT]. Read it as year, month, day: July 2, 2026. A good converter outputs real date cells. If you imported manually and got text, split the first eight characters into year, month, and day with a formula, then rebuild the date.

Negative and Positive Amounts

TRNAMT uses a single signed column: negative means money out (debits, purchases, fees) and positive means money in (deposits, refunds, interest). There are no separate debit and credit columns in the source file. If your workflow needs them split, add two helper columns in Excel that pick up negative and positive values separately.

What the FITID Column Means

FITID is the Financial Institution Transaction ID, a unique code your bank assigns to each transaction. Accounting software uses it to skip duplicates when you import overlapping date ranges. It looks like noise in a spreadsheet, but keep the column if there is any chance you will re-import the data later. Hide it rather than deleting it.

Your File Is Actually QFX or QBO

Quicken downloads use the .qfx extension and QuickBooks Web Connect uses .qbo, but both are the same Open Financial Exchange format underneath. You do not need a different tool or a rename trick: the CapyParse converter accepts all three extensions and produces the same clean Excel output.

What to Do Once Your Data Is in Excel

A clean transaction table is the starting point, not the finish line. A few quick wins once the workbook is open:

Build a Pivot Table

Select the transaction table and insert a pivot table with the date grouped by month in rows and the amount summed in values. In under a minute you have monthly cash flow. Add the payee field to see who you actually pay the most, which is usually eye-opening.

Add a Category Column

Insert a Category column next to the descriptions and tag each row (groceries, software, rent, fees). Sorting by payee first makes this fast because similar transactions cluster together. SUMIF formulas or a second pivot table then give you totals per category for budgeting or tax preparation.

Reconcile Against Your Records

Use filters and conditional formatting to match bank transactions against your invoices or expense reports. Because converted amounts are true numbers, a running SUM check against the statement's closing balance quickly proves nothing was missed or duplicated.

Feed Your Accounting Software

If Excel was just a checkpoint on the way to QuickBooks Online, Xero, or Wave, save the cleaned sheet as CSV and use the software's bank import. Our broader OFX conversion guide covers the import quirks of each platform.

Frequently Asked Questions

Why won't Excel open my OFX file?

Excel has no built-in importer for the OFX format. An OFX file contains financial markup (SGML or XML), not spreadsheet data, so Excel either dumps raw tags into a single column or fails to parse the file entirely. You need to convert the file to XLSX or CSV first, or restructure it manually with Power Query.

How do I convert an OFX file to Excel for free?

Upload your .ofx file to CapyParse's free OFX to Excel converter and download the result as an XLSX workbook. The conversion runs in your browser, requires no signup, and takes a few seconds. Each account in the file gets its own worksheet with dates, descriptions, and amounts in clean columns.

What is the FITID column in my converted file?

FITID stands for Financial Institution Transaction ID. It is a unique identifier your bank assigns to every transaction so that importing software can detect duplicates. You can hide the column if you only need the spreadsheet for analysis, but keep it if you plan to re-import the data into accounting software.

Why do dates in my OFX file look like 20260711?

OFX stores dates as compact strings in YYYYMMDD format, sometimes followed by a time and timezone such as 20260711120000[0:GMT]. That example means July 11, 2026. A converter translates these into real Excel date cells automatically; if you import manually, you need a formula to split out the year, month, and day.

Can I convert a QFX file to Excel the same way?

Yes. QFX (Quicken) and QBO (QuickBooks) files use the same Open Financial Exchange format as OFX, just with a different file extension. CapyParse's converter accepts all three, so you can upload a .qfx or .qbo file and download an Excel workbook exactly as you would with an .ofx file.

Stop Fighting the OFX Format

Turn any OFX, QFX, or QBO file into a clean Excel workbook with one upload. Your data stays in your browser.

Open Your OFX File in Excel

Related Articles