QIF is a plain-text, human-readable format designed to transfer financial data between Quicken and other accounting software (like GnuCash, MoneyDance, or Excel). While largely superseded by QFX (OFX) for direct banking, QIF remains widely supported for manual import/export. A QIF file is divided into records (transactions, accounts, or securities), each ending with a ^ (caret) character.
(from Checking to Savings):
!Type:Bank D02/01/2024 T-500.00 PTransfer to Savings L[Savings] ^ In the account file, the reverse: qif file format
with open("output.qif", "w") as f: f.write("!Type:Bank\n") f.write("D04/14/2026\n") f.write("T-25.00\n") f.write("PCoffee Shop\n") f.write("LFood:Dining\n") f.write("^\n") (pseudo): QIF is a plain-text, human-readable format designed to
D01/10/2024 T-150.00 PAmazon L[CreditCard] ← optional main category (if any) SFood ← split 1 category $80.00 SBooks ← split 2 category $70.00 ^ Splits must sum to the total T amount. Use brackets [AccountName] in the L field. (from Checking to Savings):