Convert a bank CSV to an MT940 file

For programs that import MT940 statements. Drop the CSV, check the columns, confirm dates and amounts, enter the account and the opening balance, and download the .sta file.

Your file never leaves your browser.How to check that
No file at hand?

From an e-mail: save the attachment to Files first, then choose it here.

Nothing is uploaded

The file is read in your browser and the result is made on your device. No upload, no account, no cookie, no analytics script.

To check, switch off Wi-Fi once the page has loaded; the tool keeps working. The page's security policy blocks most background requests, but it is not a complete guarantee by itself (WebRTC, for example, is not covered). Privacy page

What is in the file

One MT940 statement for each day that has rows, one after another in one .sta file. Each field explained: MT940 format.

FieldWhat it holds
:20:A reference for each statement: yours as typed, with -1, -2 and so on after it when there are several statements; without one, TI, the date and the statement number
:25:The account, as you enter it; an IBAN without spaces
:28C:The statement number: yours for the first statement, one more for each one after
:60F:The opening balance: yours in the first statement, then the closing balance of the statement before
:61:One per row: the date, C or D, the amount with a decimal comma, NMSC (or NCHK for a cheque) and the reference, or NONREF with the reference on a second line
:86:The payee and the description as free text, at most six lines of 65 characters
:62F:The closing balance: the opening balance plus the day's rows

Before you import

The opening balance. Enter the balance from your statement before the first row of the CSV. Every closing balance is worked out from it.

Characters. MT940 allows only the letters A to Z, digits, spaces and / - ? : ( ) . , ' +. Ä, Ö, Ü and ß are written AE, OE, UE and ss; any other character becomes a full stop, and you are told how many. A reference that does not fit the 16 characters of its field is written as NONREF, with up to 34 characters of it on the line after.

Amounts. With as many decimals as the currency has: two for EUR, none for JPY. A row with more is refused, not rounded.

Limits

Sample files

To open an MT940 file as a sheet: MT940 to Excel. For QuickBooks or Quicken: CSV to QBO or CSV to QFX.

MT940 field formats as restated in Die Deutsche Kreditwirtschaft, DFÜ Agreement, Appendix 3, version 3.8, chapter 8, and in Nordea, "Account Statement Service MT 940 File Description" (2010).