QIF file format
A QIF file is a list of short lines such as D10/ 1'26 and T-1,250.00: the first character names the field, and a ^ line ends the transaction. QIF is the Quicken Interchange Format, a plain text format; files end in .qif.
Open it as a table: QIF to Excel or CSV. Make one: CSV to QIF.
An example file
Our sample qif-sample-bank-us.qif: five transactions in a bank account.
The 34 lines of the sample
!Type:Bank D10/ 1'26 T-1,250.00 N1042 PMaple Court Property Mgmt MOctober rent LRent CX ^ D10/ 2'26 T2,480.35 PNorthwind Supplies Payroll MDirect deposit LSalary C* ^ D10/ 9'26 T-64.18 PCorner Grocer MWeekly shop LFood:Groceries ^ D10/15'26 T-12.99 PStreamBox LSubscriptions ^ D10/21'26 T-120.00 PLakeshore Hydro LUtilities:Electric A12 Example Street ASpringfield ^
Line by line
Line 1, !Type:Bank, is the header. It says what kind of list follows. The first transaction is lines 2 to 9:
| Line | Letter | Field | Here |
|---|---|---|---|
| 2 | D | date | 10/ 1'26 |
| 3 | T | amount; money out has a minus sign | -1,250.00 |
| 4 | N | number, such as a check number | 1042 |
| 5 | P | payee | Maple Court Property Mgmt |
| 6 | M | memo | October rent |
| 7 | L | category | Rent |
| 8 | C | cleared mark | X |
| 9 | ^ | end of the transaction |
Other lines of the sample: LFood:Groceries (line 21) puts a subcategory after a colon. A lines (32 and 33) hold an address, up to five. The second transaction's cleared mark is * (line 15). A field a transaction leaves out is blank.
The other headers:
| Header | Holds |
|---|---|
!Type:Bank | a bank account |
!Type:Cash | a cash account |
!Type:CCard | a credit card |
!Type:Invst | an investment account |
!Type:Oth A | another asset |
!Type:Oth L | another liability |
!Account | a list of accounts, or the account that the transactions after it belong to |
Lists of categories, classes and memorized transactions have headers too.
Splits and transfers
qif-sample-splits-transfers.qif has a split, a transfer and a class. In the first transaction (lines 2 to 12):
| Line | Letter | Holds | Here |
|---|---|---|---|
| 3 | T | the total | -100.00 |
| 6, 9 | S | category of a split | Food:Groceries, Household:Supplies/Home |
| 7, 10 | E | memo of a split | weekly shop, cleaning |
| 8, 11 | $ | amount of a split | -70.00, -30.00 |
The split amounts add up to the total: -70.00 and -30.00 make -100.00. A category in square brackets, L[Savings] (line 16), is a transfer to the account of that name. After a slash comes a class: /Home, and Hobbies/Club (line 22).
Investments
qif-sample-investment.qif uses other letters:
| Letter | Field | In the sample |
|---|---|---|
N | action | Buy, Div, Sell |
Y | security | Example Index Fund |
I | amount per unit | 25.50, 26.25 |
Q | quantity | 10, 4 |
T | amount | 255.00, 3.12, 105.00 |
O | commission | 1.00 |
M | memo | Opening purchase |
The values are listed as written. In the sample, 25.50 for each of 10 units is the 255.00 on the T line.
What the file does not say
- Which way the date goes. In the bank sample
10/15'26can only be 15 October, so10/ 1'26is month first. In qif-sample-ambiguous-dates.qif03/04/2026could be 3 April or 4 March. - The century. The apostrophe in
'26stands before the year. TidyImport reads it as 2026 and says so. - The decimal mark.
2,480.35has a comma for thousands and a point for decimals. Some files from other countries swap them. - The cleared marks. Our sample has
Xand*; TidyImport lists the mark as written. - The account and the currency. A plain export names neither.
- The character set. It is not stated.
TidyImport asks about the date order and the decimal mark when the file does not settle them, and its notes say what it assumed for the rest.
Beside OFX and CSV
The same job in other formats: QBO file format. Dates in a CSV: CSV dates: day first or month first?
Open a .qif file
A text editor shows it. QIF to Excel or CSV shows it as a table, and CSV to QIF goes the other way. Check that your Quicken version takes a QIF file.
QIF as described in Intuit's "What is the Quicken interchange format (QIF)?" (1997). Quicken is a trademark of Intuit Inc.; TidyImport is not affiliated with Intuit.