Convert OFX to XML Online

Paste an OFX table below, edit it if you need to, and get XML back. The conversion runs in your browser, so nothing is uploaded, there is no size limit and there is no signup.

From

The only part of this site that uses a server. The address is sent to it so the page can be fetched, because a browser is not allowed to fetch someone else's page itself. Your own files are never involved.

Nothing here is uploaded. The parsing happens on this page.
Edit
Paste or upload something above and it will appear here.
ToDataMarkupDocumentsCodeSchemasImages

The output will appear here once there is a table to convert.

What OFX is

OFX is the format behind the Download Transactions button on your bank's website. Version 1 is SGML, where a leaf element has an opening tag and no closing one. Version 2 is real XML. QFX is Intuit's variant of the same thing with a few extra tags, which is why a .qfx file opens in Quicken and is refused by software that only knows plain OFX.

Retail banks, credit card issuers and brokerages, because it is what Quicken and Microsoft Money asked for and the industry standardised on.

What XML is

XML marks up data with nested named tags and optional attributes. It is verbose, strict about being well-formed, and can carry a schema that says what shape a document must have.

Enterprise integrations, government data feeds, RSS, SOAP services and older document formats.

What changes when you convert OFX to XML

Each STMTTRN block becomes a row: date, amount, type, payee, memo, cheque number and the bank's own transaction id. The account number and currency come from the statement header and are added to every row, so a file merged with another still says which account it came from. Both the SGML and the XML flavour are read the same way.

Each row becomes an element with one child per column. Header names are rewritten where they have to be, because an XML tag cannot start with a digit or contain a space, so a column called 2024 Sales becomes _2024_Sales.

What carries over from OFX to XML

One property of the OFX has no home in XML, and it is worth knowing which before you convert.

OFX distinguishes a number from the text of a number; XML does not, so every value arrives as text and has to be re-parsed by whatever reads it next.

A worked example

Three rows of staff data, with an identifier that has a leading zero, a value containing a comma, a value containing quotes and one blank cell. Those are the four places formats disagree, so they are the four places to look.

OFX in
OFXHEADER:100
DATA:OFXSGML
VERSION:102

<OFX>
<BANKMSGSRSV1><STMTTRNRS><STMTRS>
<CURDEF>GBP
<BANKACCTFROM><ACCTID>60161331926819</ACCTID></BANKACCTFROM>
<BANKTRANLIST>
<STMTTRN>
<TRNTYPE>DEBIT
<DTPOSTED>20260115120000[0:GMT]
<TRNAMT>-42.50
<FITID>20260115001
<CHECKNUM>1043
<NAME>Greenfield Grocers
<MEMO>Weekly shop
</STMTTRN>
<STMTTRN>
<TRNTYPE>CREDIT
<DTPOSTED>20260116000000[0:GMT]
<TRNAMT>1850.00
<FITID>20260116001
<NAME>Acme Ltd
<MEMO>January salary
</STMTTRN>
<STMTTRN>
<TRNTYPE>DEBIT
<DTPOSTED>20260118000000[0:GMT]
<TRNAMT>-9.99
<FITID>20260118001
<NAME>Streaming service
</STMTTRN>
</BANKTRANLIST>
</STMTRS></STMTTRNRS></BANKMSGSRSV1>
</OFX>
XML out
<?xml version="1.0" encoding="UTF-8"?>
<staff>
  <row>
    <id>007</id>
    <name>Halima Yusuf</name>
    <role>Analyst, data</role>
    <started>2024-03-15</started>
    <hours>38.5</hours>
  </row>
  <row>
    <id>012</id>
    <name>Jonah &quot;Jo&quot; Pryce</name>
    <role>Engineer</role>
    <started>2025-11-02</started>
    <hours></hours>
  </row>
  <row>
    <id>104</id>
    <name>Wei Chen</name>
    <role>Manager</role>
    <started>2023-06-30</started>
    <hours>40</hours>
  </row>
</staff>

Questions

How do I convert OFX to XML?

Paste your OFX into the box above or drop the file onto it. Check the table in the grid, then copy or download the XML from the output panel. It takes one step and the data never leaves your browser.

What is the difference between OFX and QFX?

QFX is OFX with Intuit-specific tags added, most importantly a bank identifier that Quicken uses to decide whether it will accept the file. The transaction data is identical, which is why anything that reads OFX reads QFX. Banks often charge for the QFX version of the same download.

Will my numbers still be numbers?

They will read the same, but XML stores them as text. Anything that sorts or sums the result will need to parse them first, and a leading zero or a currency symbol is the usual place that goes wrong.

Is there a limit on file size?

No. The work happens on your own machine, so the limit is your machine's memory rather than an upload cap. A file with tens of thousands of rows converts in a second or two.

Is my data uploaded anywhere?

No. The parsing and generating are done by JavaScript running on this page. You can watch the network tab while you convert and see that nothing is sent.

Related conversions