Compare QIF and CSV for data exchange

QIF vs CSV: how each format stores financial and tabular data, what survives conversion, and how to choose the right one for importing or sharing records.

QIF and CSV are both plain-text formats for moving records between programs, but they solve different problems. QIF (Quicken Interchange Format) is a purpose-built format for financial transactions. CSV (comma-separated values) is a general-purpose way to store any table. Which one fits depends on what the receiving application expects and how much structure your data needs to keep. This guide covers general, verifiable characteristics of both formats. It does not include tested results from specific applications, so check your destination software's documentation before you rely on either format.

What each format actually stores

A QIF file is line-based. A header line such as !Type:Bank declares the kind of account. Each following line starts with a single-letter code that labels the value: D for date, T for amount, P for payee, M for memo, L for category, N for check or reference number, and C for cleared status. A line containing only a caret (^) ends each transaction. Because every value carries its own label, field order inside a record does not matter.

A CSV file is a grid. Each line is a row, and commas separate the values within it. A header row, if present, names the columns, but nothing in the format itself says what a column means. A common convention for quoting and escaping is documented in RFC 4180. In practice, implementations vary. Some regions use semicolons because the comma serves as the decimal separator there. Tab-separated values (TSV) follow the same grid model with tabs as the delimiter, which avoids most quoting problems when values contain commas.

Converting between the two does not change how text looks, the way a styling or mirroring transformation would. It reorganizes the same values from one structure into another. The risk is losing structure or meaning along the way, not losing readability.

The same transactions in both formats

The example below is illustrative and was written by hand, not exported from any application. It shows three transactions, including one split across two categories, expressed in QIF and then as a flat CSV.

!Type:Bank
D01/15/2024
T-45.20
PGrocery Store
LFood:Groceries
^
D01/16/2024
T1200.00
PEmployer Inc
LIncome:Salary
^
D01/18/2024
T-100.00
PSuperstore
SFood:Groceries
$-60.00
SHousehold
$-40.00
^
Date,Amount,Payee,Category
2024-01-15,-45.20,Grocery Store,Food:Groceries
2024-01-16,1200.00,Employer Inc,Income:Salary
2024-01-18,-60.00,Superstore,Food:Groceries
2024-01-18,-40.00,Superstore,Household

In the QIF version, the split is one transaction of -100.00. The S lines name each category and the $ lines give each portion. The CSV version has no native concept of a split, so this example flattens it into two rows. A program importing that CSV would see two separate transactions unless it is told how to regroup them. One alternative is a CSV layout with a transaction ID column that groups rows. That only works if the destination understands the convention.

Side-by-side comparison

Criterion | QIF | CSV
Purpose | Financial transactions specifically | Any tabular data
Field meaning | Built in through single-letter codes | Defined only by the header row or external agreement
Account context | Header declares account type (bank, credit card, investment and others) | None unless added as a column
Split transactions | Supported natively | Requires multiple rows or extra columns plus a convention
Investment records | Has an investment record type with fields such as security, quantity and price | Possible, but column design is up to the producer
Human readability | Readable line by line but tedious for many records | Easy to scan and edit in a spreadsheet
Editing tools | Text editor; few general tools understand it | Spreadsheets, databases, scripts and most data tools
Date format | Not strictly standardized; varies by exporter | Not standardized; varies by exporter and locale
Encoding declaration | None | None, though some tools add a byte-order mark
Current software support | Older format; some finance applications restrict or no longer accept it for certain account types | Widely accepted, but each importer expects its own column layout

Which format suits your goal

Choose QIF when the destination is personal finance software that documents QIF import for your account type, and when you need splits, categories or account context to arrive intact. The format was designed for this exchange, so less manual mapping is usually required.

Choose CSV when you want to analyze, clean or audit data in a spreadsheet. CSV is also the better choice when the destination is a database, accounting system or script that lets you map columns, or when you need a format almost any tool can open. CSV is the safer archival choice for general readability. Keep a note of what each column means, its date format and its sign convention, because the file will not record those things itself.

If you need both, keep the richer source and generate the other format from it. Converting QIF to CSV is usually straightforward, but splits and account headers must be flattened or dropped. Converting CSV to QIF requires deciding which column maps to which QIF code, how dates should be written, and whether expenses are negative amounts. Once grouping information is gone, a round trip from QIF to CSV and back will not restore splits.

Will the converted file work where you need it?

  • Dates: neither format fixes a date order. 01/02/2024 can mean January 2 or February 1 depending on the exporter and the importer's locale. Some QIF exporters also use an apostrophe before a two-digit year. Confirm the expected format before importing.
  • Amount signs: some sources show debits as negative numbers, while others use separate debit and credit columns. A mismatch can reverse every transaction.
  • Spreadsheet auto-conversion: opening a CSV in a spreadsheet can silently strip leading zeros from account or check numbers, convert long numbers to scientific notation, or reinterpret dates. Saving the file afterward makes those changes permanent. Import as text columns, or edit in a plain-text editor, when exact values matter.
  • Character encoding: neither format declares its encoding. Payee names with accented or non-Latin characters can display incorrectly if the importer assumes a different encoding. Check a few such records after import.
  • Delimiters and quoting: payee names or memos containing commas, quotes or line breaks must be quoted correctly in CSV. TSV avoids the comma problem but not tabs embedded in values.
  • Destination support: whether a particular application accepts QIF, which account types it allows, and what CSV columns it requires all vary. This guide has no documentation on specific products, so consult the destination's import instructions and test with a small file first.

Handling financial data safely

Transaction files can contain account numbers, balances, payees and spending patterns. Uploading one to an online converter sends that data to a third party, which may log or retain it. Prefer converters that run locally, such as a desktop tool, a spreadsheet, or a short script you can inspect. If you must use an online service, remove or mask account numbers and other identifying fields first, and review the service's data handling terms.

CSV files carry one additional risk. When a spreadsheet opens a cell beginning with =, +, - or @, it may treat the contents as a formula, a problem known as CSV or formula injection. Negative amounts legitimately start with a minus sign, so this cannot be solved by rejecting such cells outright. Do not open CSV files from untrusted sources in a spreadsheet without care, and if your software offers a setting that keeps external content from being evaluated as formulas, enable it.

Quick decision checklist

  • Does the destination document QIF import for your account type? If so, and you need splits or categories preserved, use QIF.
  • Will you inspect, filter or chart the data? Use CSV, or TSV if values often contain commas.
  • Does the destination ask you to map columns? Use CSV and confirm the date format, sign convention and encoding.
  • Are you archiving records for long-term readability? Keep CSV with a short note describing each column, and keep the original export too.
  • Is the data sensitive? Convert locally, and test with a small sample before importing everything.