The short answer
The Royal Bank of Canada (RBC) file has 8 columns, dates written as M/D/YYYY and one signed amount column. YNAB wants a CSV with the columns Date,Payee,Memo,Outflow,Inflow. So the date is rewritten as YYYY-MM-DD, the amount is split into Outflow and Inflow, and the text columns are moved as in the table below.
Paid pack. The Royal Bank of Canada (RBC) profile is one of the 35 profiles unlocked by a licence (9 US dollars, paid once; see the terms). Without a licence you can still convert this file with the free manual column mapper, using the column table on this page, within the free limit of 25 rows per file.
The converter runs in your browser. Your file is not uploaded.
What the Royal Bank of Canada (RBC) CSV looks like
- Country: Canada.
- Account type: account statement (the account type is a column in the file).
- Header row: yes, one row before the first transaction.
- Columns: 8, separated by commas.
- Date format: M/D/YYYY, for example 3/4/2024 (the source writes it as n/j/Y).
- Amounts: one signed amount column. Evidence for the direction: it is inferred from the role the open-source importer gives the column; no sample row confirms it.
- Header text: the source prints it, so the columns below carry their real names.
Note kept with this layout in the profile data: The header names are the French labels listed in the source readme; an export made with the English interface carries English labels in the same positions, so match by position. Month and day have no leading zero. Column 7 is the amount in Canadian dollars, column 8 the amount in US dollars.
What YNAB accepts
- File type: CSV (the vendor calls it the recommended and preferred format); QFX, OFX and QIF are also accepted.
- Header row: optional; the import preview has a "No header row" option.
- Required columns: Date, Outflow, Inflow.
- Optional columns: Payee, Memo.
- Amounts: Two positive columns: money out in Outflow, money in in Inflow. A single signed amount column is also accepted: the user selects the same column for both Inflow and Outflow in the import preview, and YNAB reads positive and negative values from it. The preview has a "Swap Inflow and Outflow" option.
- Dates: not stated on the page; the columns and their reading are confirmed in the import preview.
| YNAB column | Required by YNAB | Filled from the Royal Bank of Canada (RBC) file |
|---|---|---|
| Date | required | column 3 "Date de l'opération" |
| Payee | optional | column 5 "Description 1" and column 6 "Description 2" |
| Memo | optional | left empty |
| Outflow | required | column 7 "CAD", rows that are money out |
| Inflow | required | column 7 "CAD", rows that are money in |
From the vendor's help page: "Select that same Amount column for both the Inflow and Outflow fields in the import dropdowns. You don't need to reformat your file or split it into two columns first—YNAB reads positive and negative values from a single column."
Column-by-column mapping
Every column of the Royal Bank of Canada (RBC) file, left to right, and where it ends up in the YNAB file.
| Column | Header text | What it holds | Where it goes in the YNAB file |
|---|---|---|---|
| 1 | Type de compte | Not used | Not copied |
| 2 | Numéro du compte | Account or card identifier | Not copied |
| 3 | Date de l'opération | Transaction date | Date, rewritten as YYYY-MM-DD |
| 4 | Numéro du chèque | Reference or check number | Not copied |
| 5 | Description 1 | Description | Payee |
| 6 | Description 2 | Description | Payee |
| 7 | CAD | Amount, signed (negative is money out) | Outflow when the row is money out, Inflow when it is money in; always a positive number |
| 8 | USD | Not used | Not copied |
Pitfalls for Royal Bank of Canada (RBC) to YNAB
Dates
- The date must be reordered. The bank file is written month first, then day, then year (M/D/YYYY, for example 3/4/2024). The YNAB file is written year first, then month, then day (YYYY-MM-DD, for example 2024-03-04).
- YNAB on dates: not stated on the page; the columns and their reading are confirmed in the import preview. The converter writes year-month-day because it cannot be misread as day/month or month/day. The vendor page does not list accepted date formats, so the user must check the dates in YNAB's preview before importing.
Amounts and their direction
- The bank file has one signed amount column (negative is money out) and the YNAB layout used here has two positive columns. Each amount goes to Outflow or Inflow by its sign, and the minus sign is removed.
- YNAB's own rule: Two positive columns: money out in Outflow, money in in Inflow. A single signed amount column is also accepted: the user selects the same column for both Inflow and Outflow in the import preview, and YNAB reads positive and negative values from it. The preview has a "Swap Inflow and Outflow" option.
- How sure the direction is: it is inferred from the role the open-source importer gives the column; no sample row confirms it. Compare two rows you recognise with the preview before importing; the converter has a switch that flips the sign of every amount.
Other YNAB import rules
- The vendor states it is no longer necessary to format a CSV file before uploading it; columns are matched to fields with dropdown menus after upload.
Before and after: an invented example
Invented sample data. These four rows were made up for this page. They are not from a real Royal Bank of Canada (RBC) export and hold no real account, name or balance.
The column headings are the header text the source prints. The 2 unused columns of the file are left out of the table.
| 2: Numéro du compte | 3: Date de l'opération | 4: Numéro du chèque | 5: Description 1 | 6: Description 2 | 7: CAD |
|---|---|---|---|---|---|
| 0000 | 3/4/2024 | S0001 | COFFEE CORNER MAIN ST | -4.50 | |
| 0000 | 3/5/2024 | S0002 | PAYROLL EXAMPLE CO | 2500.00 | |
| 0000 | 3/7/2024 | S0003 | RENT MARCH | -1234.56 | |
| 0000 | 3/11/2024 | S0004 | REFUND EXAMPLE SHOP | 15.25 |
| Date | Payee | Memo | Outflow | Inflow |
|---|---|---|---|---|
| 2024-03-04 | COFFEE CORNER MAIN ST | 4.50 | ||
| 2024-03-05 | PAYROLL EXAMPLE CO | 2500.00 | ||
| 2024-03-07 | RENT MARCH | 1234.56 | ||
| 2024-03-11 | REFUND EXAMPLE SHOP | 15.25 |
Do it by hand in a spreadsheet, free
These steps need no tool from this site. The cell references follow the column positions of the profile above; if your spreadsheet uses semicolons between formula arguments, replace the commas.
- Open the Royal Bank of Canada (RBC) CSV in a spreadsheet program through its import dialog. Set the date column (column 3 "Date de l'opération") to Text so the program does not reinterpret it, and leave the amount columns as numbers.
- Row 1 is the header and the transactions start in row 2.
- Date: rewrite column C from M/D/YYYY to YYYY-MM-DD (3/4/2024 becomes 2024-03-04). This bank's dates do not have a fixed width, so a position formula is not reliable: split the column into its parts (Text to Columns, or the split function of your spreadsheet) and join them again in the new order.
- Amounts: split the signed column into two positive columns. Outflow:
=IF(G2<0,-G2,"")Inflow:=IF(G2<0,"",G2)YNAB's help page also says a single signed column can be selected for both Inflow and Outflow in its import preview, so this step can be skipped there. - Text columns: fill Payee (from column 5 "Description 1" and column 6 "Description 2"); Memo (left empty). Where several bank columns feed one column, join them with a separator such as " - ".
- Apply YNAB's own rules from its help page: The vendor states it is no longer necessary to format a CSV file before uploading it; columns are matched to fields with dropdown menus after upload.
- Keep only the new columns, put the header row Date,Payee,Memo,Outflow,Inflow on top, save the sheet as a comma-separated CSV, and compare the dates, the direction of the amounts and the number of rows with your statement in YNAB's import preview.
Or use the converter
Load the file, choose the Royal Bank of Canada (RBC) profile in the bank list and the target YNAB, read the preview, then download. The conversion runs locally in your browser: the file is not uploaded, and only the licence key is sent for unlocking.
Paid pack. The Royal Bank of Canada (RBC) profile is one of the 35 profiles unlocked by a licence (9 US dollars, paid once; see the terms). Without a licence you can still convert this file with the free manual column mapper, using the column table on this page, within the free limit of 25 rows per file.
Where this layout comes from
No bank supplied or approved this layout. It was copied on 5 October 2026 from a public open-source importer file kept by volunteers: firefly-iii/import-configurations, file ca/rbc/default.json
Also read: firefly-iii/import-configurations, file ca/rbc/readme.md
The lines used from the source: "headers": true, "date": "n/j/Y", roles: _ignore, account-number, date_transaction, _ignore, description, description, amount, _ignore ; readme: "The date of transactions is expected in the n/j/Y format (month/day/year)."
The YNAB rules come from the vendor's own help pages: support.ynab.com/en_us/file-based-import-a-guide-Bkj4Sszyo (named as text, not linked), support.ynab.com/en_us/formatting-a-csv-file-an-overview-BJvczkuRq (named as text, not linked). The official page was fetched and read on the checked date.
Bank formats change. Banks alter their CSV exports without notice and vendors change their import rules, so this mapping can be out of date. If the preview looks wrong, use the manual column mapper.