SWIFT formatting rules and Character sets of MT Messages (2025)

This page gives an introduction to the SWIFT formatting rules of the MT messages fields and provides the X, Y and Z character sets used in SWIFT MT messages.

To explain the SWIFT formatting rules for the different fields, let’s consider few examples.

Example 1 : SWIFT formatting rules for Sender’s Reference (Field 20).

The format of the sender’s reference is 16x. It means 1) it can take up to 16 characters and 2) it can take any character of the X permitted set (See below).

:20:REF/hh123 is allowed. Number of characters < 16 and all characters belong to the X permitted set.
:20:AREFWithMore16Characters is not allowed because it contains more than 16 characters.
:20:Oth@REF376 Is not allowed. Because @ does not belong to the X permitted set.

Example 2: SWIFT formatting rules for Ordering Customer (Field 50a)

Option A format
[/34x] (Account)
4!a2!a2!c[3!c] (Identifier Code)

Square brackets, [ ], around the format of a particular subfield (in a field containing more than one subfield), indicate that the subfield is optional within that field. So the account is optional. The identifier code is mandatory if the field 50a is present, but only the first height characters that must be in the format 4!a2!a2!c. The last 3 characters are optional [3!c]. The identifier code is the BIC code. To know what a and c and ! mean, see the table below.

So to be more specific

:50A:/FR7630004008180001236749327 (with account only) is not allowed.
:50A: BNPAFRPP (with BIC only) is allowed.
:50A: /FR7630004008180001236749327
BNPAFRPP
with (Account and BIC) is allowed. BIC can be BIC8 or BIC 11.

Option F Format
35x (Party Identifier)
4*35x (Name and Address)

If option K is used, then the party identifier is mandatory and can have up to 35 of any character of the X permitted set (See below). One character is the minimum. The name and address can contain up to 4 lines (1 line minimum and 4 lines maximum). Each line can have a maximum of 35x characters. Following examples showing how the fields can be populated are available in the SWIFT Message Reference Guide.

:50F:/12345678
1/SMITH JOHN
2/299, PARK AVENUE
3/US/NEW YORK, NY 10017

:50F:/BE30001216371411
1/PHILIPS MARK
4/19720830
5/BE/BRUSSELS

:50F:DRLC/BE/BRUSSELS/NB0949042
1/DUPONT JACQUES
2/HIGH STREET 6, APT 6C
3/BE/BRUSSELS

Example 3: SWIFT Formatting rules for Beneficiary Customer (Field 59a)

There are 3 options to populate this fields: no letter option, Option A and Option F. We will consider option F only.

Option F
[/34x] (Account)
4*(1!n/33x) (Number/Name and Address Details)

The account is optional. See example 2 option A above.

Parentheses, ( ), around the format of two or more subfields indicate that what precedes the brackets applies to all the subfields listed within the brackets. For example, the field format 4*(1!n/33x) indicates that 4 lines are allowed in the field and each line must start with a digit, followed by a slash (‘/’), followed by a maximum of 33 characters.

The following table lists the rules and restrictions on field lengths.

Restrictions on Length Types of Characters Allowed
nn maximum length
(minimum is 1)
n numeric digits (0 through 9) only
nn-nn minimum and maximum length a alphabetic letters (A through Z), upper case only
c alphabetic letters (upper case) and digits only
h hexadecimal letters A through F (upper case) and digits only
nn! fixed length x any character of the X permitted set (General FIN application set) upper and lower case allowed (See X Character Set below)
y any character of the EDIFACT level A character set as defined in ISO 9735 upper case only (See Y Character Set below)
z any character as defined by the Information Service (See Z Character Set below)
nn*nn maximum number of lines times maximum line length d decimals
e blank space

The X, Y and Z Character sets used in the SWIFT MT messages are provided below.

X Character Set – SWIFT Character Set

Computer-based terminals communicating with SWIFT use EBCDIC code.
The character set is as follows:

a b c d e f g h i j k l m n o p q r s t u v w x y z
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
0 1 2 3 4 5 6 7 8 9
/ – ? : ( ) . , ‘ + CrLf Space

The characters Cr and Lf must never be used as single characters and must only be used together in the sequence CrLf, that is, LfCr is not allowed.
When the character sequence CrLf is used in a field format with several lines, it is used to indicate the end of one line of text and the start of the next line of text.

Y Character Set – EDIFACT Level A Character Set

In field 77F of MT 105, the EDIFACT level A character set, as defined in ISO 9735, is used.
This character set is as follows:

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
0 1 2 3 4 5 6 7 8 9
. , – ( ) / = ‘ + : ? ! ” % & * < > ;
Space

Other characters are not allowed (Error code M60).

Z Character Set – Information Service Character Set

In fields 70F of MT 568, field 70G of the MT 564, and 77T of MT 103 REMIT, the allowed character set is as follows:

a b c d e f g h i j k l m n o p q r s t u v w x y z
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
0 1 2 3 4 5 6 7 8 9
. , – ( ) / = ‘ + : ? ! ” % & * < > ; {
@ # _
Cr Lf Space

Other characters are not allowed, including the curly bracket ‘}’ (Error code M60).

In a field format with several lines, the characters Cr and Lf must never be used as single characters and must only be used together in the sequence CrLf, that is, LfCr is not allowed. When CrLf is used in such fields, it will be interpreted as the end of one line of text and the start of the next line of text.
In all other fields, the characters Cr and Lf may be used as single characters or in sequence, such as, CrLf or LfCr.

The main source for this page is the SWIFT Standard – General Information document. Read it if you want to really deepen the topic of field structure, field formatting, character sets and so on. That document contains valuable information.

Examples of SWIFT MT103 messages are provided in the following articles. They illustrate other aspects of the SWIFT formatting rules. Take some time to consider them if you want to deepen this topic.

  • Article 1: Basic SWIFT MT103 message decrypted
  • Article 2: SWIFT MT103 message example with optional fields 53B, 70 and 71G explained
SWIFT formatting rules and Character sets of MT Messages (2025)

FAQs

What characters are not allowed in SWIFT messages? ›

Other characters are not allowed, including the curly bracket '}' (Error code M60). In a field format with several lines, the characters Cr and Lf must never be used as single characters and must only be used together in the sequence CrLf, that is, LfCr is not allowed.

What is the structure of MT in SWIFT message? ›

SWIFT MT Message Structure

All SWIFT messages include the literal “MT” (message type). This is followed by a three-digit number that denotes the message category, group and type.

What is the MT field format in SWIFT? ›

The MT format language is defined by Swift. It describes how a field is structure by specifying : which type of characters can be used in that field. what are the restrictions on the length of the field (i.e. how many times each type of character can appear and in which order)

What is the character limit for MT103? ›

Clients sending payments via Swift MT101/MT103 can see the beneficiary name field extended to 140 characters from the current 70-character limitation.

Which special characters are allowed in SMS? ›

Special characters are any other character or emoji that's not listed in one of the tables above, including: À, á, â, ç, ê, É, È, Ì, î, í, Ò, ô, ó, Ù and ú. Any unicode character is considered special, even if it looks similar to a non-special character.

What are the unacceptable characters in XML? ›

Illegal XML Characters
  • Greater than and smaller than < >
  • Ampersand &
  • Single quotes '
  • Double quotes “
  • End of line.
  • Line feed.

What are the 5 main blocks of MT messages? ›

A SWIFT MT message consists of the following blocks or segments:
  • Basic Header Block.
  • Application Header Block.
  • User Header Block.
  • Text Block.
  • Trailer Block.
Sep 4, 2023

What is the MT103 format? ›

The MT103 format is a standard SWIFT message used for international wire transfers between banks, specifically for single-customer credit transfers. It contains structured fields to ensure all necessary information for the payment is included and formatted correctly.

What is the mt198 message format? ›

MTN98 Scope

It is used as an envelope for a specified message included in it. It allows for the definition of a unique format for which another message type is not available or applicable. It also allows financial institutions to use message types which are awaiting live implementation on the SWIFT system.

What is the standard for MT messaging? ›

Message type (MT) messages are structured according to the specifications of the ISO 15022 standard using the FIN protocol. MX messages are structured according to the ISO 20022 standard and use the XML protocol. A three-digit number follows MT messages: The first digit indicates the message category.

What are the mandatory fields in MT103? ›

Mandatory Fields: Fields like 20 (Transaction Reference Number), 32A (Value Date, Currency, and Amount), 50A/K/F (Ordering Customer), and 59 (Beneficiary Customer) are mandatory. They are essential for the transaction's basic information.

What is the difference between MT101 and MT103 and MT202? ›

The MT101 message is used to inform the creditor bank that funds are coming, it is an announcement. The MT202. COV, called cover message, moves the funds between correspondent accounts. With the serial method, one single message is initiated by the sender to settle the funds, an MT103.

What is structure SWIFT MT103? ›

MT103 is a standardized proof of payment document which can be provided by any bank or institution sending money through the SWIFT network. The SWIFT MT103 fields show all you need to know about the transaction including who sent it, the processing institutions, the amount, fees and more.

How to set character limit in SWIFT? ›

First thing to do is to create a view modifier with two variables: a binding to the value and an integer for the maximum length. Instead of using a proxy binding I utilize the onChange(of:perform:) (for iOS 14 and above) and onReceive(_:perform:) (for older iOS versions) methods this time.

What is the format of the MT202? ›

1 MT202 format

An MT202 message consists of four blocks: basic header, application header, user header, and text. The basic header identifies the sender and receiver of the message, and the message type. The application header specifies the service type, the priority, and the delivery monitoring.

SWIFT Formatting rules and Character sets of ...Paymerixhttps://paymerix.com ›

This page gives an introduction to the SWIFT formatting rules of the MT messages fields and provides the X, Y and Z character sets used in SWIFT MT.
This document provides information about all Standards MT (message type) categories, and explains the general rules, conventions, and principles for the Standar...

Knowledge Centre - swift

Society for Worldwide Interbank Financial Telecommunication
https://www2.swift.com
Society for Worldwide Interbank Financial Telecommunication
https://www2.swift.com

Are SWIFT codes 8 or 11 characters? ›

A SWIFT (Society for Worldwide Interbank Financial Telecommunications) code is an 8-11 character long, standard format code that identifies banks and financial institutions worldwide.

What characters are not allowed in ascii? ›

Examples of non-ASCII characters include: Accented letters: é, à, ö, ñ, etc. Non-Latin alphabets: 漢 (Chinese), こんにちは (Japanese), به متنی(Persian), etc. Symbols: ©, ®, €, £, µ, ¥, etc.

What is the character set for SWIFT payment? ›

Permitted character set in SWIFT messages

Characters: space ( ), period (.),open parenthesis ( and close parenthesis ), hyphen (-), slash (/), less than (<) plus (+), ampersand (&), dollar sign ($), asterisk (*), semi-colon (;), percent sign (%), at sign (@), equal sign (=), double quote (“), and back-slash (\).

What is the character limit for mt199? ›

When the MT 199 is related to a previously received SWIFT MT message, it contains field 20 (“Transaction Reference Number”) of the original MT message 79 Narrative Maximum 35*50 alphanumeric characters.

Top Articles
Latest Posts
Recommended Articles
Article information

Author: Nathanial Hackett

Last Updated:

Views: 5329

Rating: 4.1 / 5 (52 voted)

Reviews: 83% of readers found this page helpful

Author information

Name: Nathanial Hackett

Birthday: 1997-10-09

Address: Apt. 935 264 Abshire Canyon, South Nerissachester, NM 01800

Phone: +9752624861224

Job: Forward Technology Assistant

Hobby: Listening to music, Shopping, Vacation, Baton twirling, Flower arranging, Blacksmithing, Do it yourself

Introduction: My name is Nathanial Hackett, I am a lovely, curious, smiling, lively, thoughtful, courageous, lively person who loves writing and wants to share my knowledge and understanding with you.