The CSV format YNAB imports

A CSV file for YNAB has a header row and five columns: Date, Payee, Memo, Outflow and Inflow. YNAB’s File-Based Import matches them by itself, so a file like this imports in a few clicks.

Date,Payee,Memo,Outflow,Inflow
2026-09-03,Migros,Groceries,64.35,
2026-09-25,Example AG,Salary September,,5200.00

Download the templateor let ynabit write it from your bank’s export, below.

Turn your bank’s export into this format

Drop CSV, camt.053 or MT940 exports from your banks and cards. Each one becomes a …_ynab.csv in the format above, converted on your device.

The columns

ColumnWhat goes in itExample
DateThe day of the transaction, in the same format on every row.2026-09-03
PayeeWho you paid, or who paid you.Migros
MemoOptional: a note, reference or payment purpose.Groceries
OutflowMoney out, as a positive number. Empty for money in.64.35
InflowMoney in. Empty for money out.5200.00

Import the file into YNAB

  1. Open YNAB on the web. File-Based Import isn’t available in YNAB’s iPhone and Android apps.
  2. Drag the file anywhere onto YNAB. The Import Transactions window opens.
  3. Check the account at the top, and that each column is matched to the right field. If one isn’t, pick the right field from its dropdown.
  4. If your file has no header row, tick No header row. If money in and out are swapped, tick Swap Inflow and Outflow.
  5. Confirm the import. YNAB cleans up the payee names and suggests categories.

YNAB explains every option in its File-Based Import guide.

Why convert your bank’s export first

Banks and formats ynabit converts

Each guide shows where to find the right export. Banking in Switzerland? Read how to use YNAB with Swiss banks.

YNAB CSV format: questions

Which files can YNAB import?

CSV, OFX, QFX and QIF files, and CSV is the format YNAB recommends. YNAB can’t read other files, such as PDF statements, Excel workbooks, camt.053 or MT940. ynabit converts the last two into CSV.

Which date format does YNAB need?

YNAB’s guide doesn’t name one. Use the same format on every row: ISO dates such as 2026-09-03 are the safest, because they can’t be read as another day. ynabit always writes them.

Does the CSV need a header row?

It helps YNAB match the columns. A file without one still imports: tick No header row in the import window and match the columns yourself.

Will overlapping files create duplicates?

Usually not. YNAB skips imported transactions with the same date and amount as ones it already imported, and matches transactions you entered by hand when the amounts are the same and the dates are within ten days of each other.

How far back can I import?

YNAB doesn’t recommend importing transactions more than a year old with File-Based Import. Transactions dated before the account’s start date can be left out in the import window.

Can I import categories or split transactions?

No. File-Based Import brings in the date, payee, memo and amount. YNAB then suggests each payee’s usual category, and you can change it.

Can I import a CSV on my phone?

No. File-Based Import works in YNAB on the web; YNAB’s iPhone and Android apps don’t have it.