How to Import a Bank Statement into YNAB (PDF, CSV, OFX or QIF)
YNAB works best when transactions flow in automatically, but there are plenty of times you’ll want to import a file instead: your bank isn’t supported for direct import, the connection broke, you’re starting a new budget mid-month, or you only have PDF statements. YNAB can’t read PDFs, so they need converting first.
Here’s how to turn a PDF statement into a file YNAB accepts, without uploading it to a converter’s server, then import it and avoid the usual sign, date and duplicate problems.
What YNAB accepts
YNAB’s file-based import reads four formats: CSV, OFX, QFX and QIF. YNAB calls CSV its recommended and preferred format. It can’t read anything else, so PDF and Excel files have to be converted.
File import works in YNAB on the web. It isn’t available in the iPhone or Android apps.
Step 1: Convert the PDF statement
- Open the pdf2statement converter and drop in the statement PDF. Password-protected and scanned statements work too.
- Check the preview. Transactions are split into money in and money out, and when the statement prints a running balance each row is checked against it.
- Download CSV. The default layout (Date, Description, Debit, Credit) maps neatly onto YNAB’s Date, Payee, Outflow and Inflow. Or download OFX if you’d rather skip mapping altogether.
The PDF is read inside your browser and never uploaded. Like YNAB, which says it doesn’t keep files you import, nothing about your statement is stored on a server.
Have a bank CSV that YNAB reads badly? Clean it up with Bank CSV to QuickBooks (a plain Date, Description, Amount file that YNAB also reads), or turn it into OFX with CSV to OFX.
Step 2: Import the file into YNAB
- Open YNAB in a web browser on your computer.
- Drag the file anywhere into YNAB. Many people use the Import option in the account’s register, which does the same thing.
- YNAB asks you to confirm which account the transactions go into. Pick the matching checking, savings or credit card account.
- For a CSV, YNAB shows how it mapped the columns: Date, Payee, Memo, Outflow, Inflow. Adjust any column from its dropdown. For pdf2statement’s CSV, map Description to Payee, Debit to Outflow and Credit to Inflow, and leave the Balance column unmapped (or untick Include balance column in Export options before downloading).
- Check the preview, then import. The transactions appear in the register for you to approve and categorize.
Single amount column?
If your CSV has one signed Amount column (negative for spending), map that same column to both Outflow and Inflow. YNAB reads the sign to tell them apart.
Useful import options
- Swap Inflow and Outflow: flips the direction if spending came in as income, which often happens with credit card files.
- No header row: tick this if the first line of the file is already a transaction.
- Remember setting for this account: on by default, so next month’s file maps the same way.
For OFX, QFX and QIF files you can also choose to import memos and swap the payee and memo fields.
Credit card statements
In YNAB a card purchase should land as an outflow in the credit card account. pdf2statement detects credit card statements and splits purchases and payments correctly. If a card file still comes in backwards, use Swap Inflow and Outflow during import, or ⇅ Swap money in / out in the converter’s Export options before downloading.
Avoiding duplicates
YNAB is fairly forgiving:
- An imported transaction is matched to one you entered manually when the amounts are the same and the dates are within 10 days. YNAB keeps the bank’s amount and your payee, memo and date.
- When you import files regularly or alongside direct import, YNAB skips imported transactions with exactly the same date and amount.
- Imported transactions you delete or reject won’t import again into that account.
Even so, import only the period you need. If last month’s statement overlaps with transactions already in YNAB, review the import carefully before approving.
Fixing common YNAB import errors
“CSV File Error”
Usually caused by extra quotation marks or stray characters in the file. Re-export a clean CSV from the converter, and don’t edit and re-save it in Excel, which can change quoting and dates.
“No Transactions”
YNAB found no rows with both a date and a non-zero amount. Check that the date and amount columns are mapped, that No header row is set correctly, and that the file isn’t the bank’s summary export.
Dates are wrong
If dates land in the wrong month, the file probably uses a day/month order YNAB guessed wrong. Export CSV with the 2024-01-31 (ISO) date format in Export options, which can’t be misread. To fix a bank’s CSV without converting it, use the date format fixer.
Starting a fresh budget from statements
- Decide your budget start date.
- Convert the statements covering that date onward and import them. Avoid importing more than about a year back.
- Check that each account’s balance in YNAB matches the ending balance on your latest statement, then budget the money you actually have.
Want to see where the money went before you give every dollar a job? The transaction categorizer sorts a statement into spending categories with a summary, right in your browser. For desktop money apps, see importing into Quicken.