Home/UETR generator
Free tool · Updated

UETR generator
Test UETRs, ready to paste.

Generate random UETRs for test payment messages, one or 25 at a time, as a plain version 4 UUID, an MT103 field 121 or a pacs.008 element. Then check any UETR's format with the same rules the uetr.ai tracker uses.

Generated values are test references. They belong to no payment, so tracking one finds nothing, and none can stand in for a bank's confirmation.

Made in your browser with crypto.randomUUID; nothing is sent to uetr.ai
Three output formats for test MT103 and pacs.008 messages
Format check accepts capitals and the 32-digit form without hyphens

Generate test UETRs

Random version 4 UUIDs, made in your browser. Test values only: they belong to no payment.

How many
Format
  • 6f8d3a2b-1c44-4f8e-9b21-7d2c9f0a1b22

What is a UETR generator?

A UETR generator creates random references in the UETR format, a version 4 UUID such as 6f8d3a2b-1c44-4f8e-9b21-7d2c9f0a1b22, for test payment messages. Developers and payment teams use them to fill field 121 of a test MT103 or the UETR element of a test pacs.008. A generated UETR belongs to no payment, so it cannot be tracked.

Are the UETRs generated on a server?

No. They are generated in your browser with crypto.randomUUID, and nothing you generate or check on this page is sent to uetr.ai.

Are the generated UETRs unique?

Each one is a random version 4 UUID, which has 122 random bits, so two generated values matching is so unlikely that it can be ignored in practice. This page uses the browser's own crypto.randomUUID function, a cryptographically secure generator.

Sources: RFC 9562 for version 4 UUIDs and MDN on crypto.randomUUID.

The UETR format

A UETR is a version 4 UUID as defined in RFC 9562 (which replaced RFC 4122): 32 lowercase hexadecimal digits in five groups of 8-4-4-4-12, separated by hyphens, 36 characters in all. The third group starts with 4, the version, and the fourth starts with 8, 9, a or b, the variant. A copy in capitals is the same reference.

UETR number format: a 36-character UUID v4 in 8-4-4-4-12 lowercase hex, with the version digit 4 and the variant digit highlighted.
The anatomy of a UETR: 32 hexadecimal digits plus 4 hyphens, grouped 8-4-4-4-12, with the UUID v4 version and variant digits highlighted.

The diagram marks the two fixed digits: the 4 that starts the third group and the 8, 9, a or b that starts the fourth. Every other digit is random. The format check above tests exactly these rules.

How do I check if a UETR is valid?

Paste it into the format check on this page. It applies the same rules as the uetr.ai tracker: 32 hexadecimal digits in 8-4-4-4-12 groups, version 4 and a variant of 8, 9, a or b. It accepts the same 32 digits without hyphens and capital letters, and shows the reference in its standard form.

Does a valid UETR format mean the payment exists?

No. The format check says only that a reference is written correctly. Whether a payment with that UETR exists is a question for the banks: paste a UETR from a real bank confirmation into uetr.ai to see what the banks have reported.

Where the UETR goes in an MT103 and a pacs.008

In an MT103 the UETR is field 121 in block 3, the user header, written as {121:<UETR>}. In a pacs.008 it is the UETR element inside the payment identification, CdtTrfTxInf/PmtId/UETR. Choose the output format in the generator to get each value ready to paste.

SWIFT MT103 message structure showing its five blocks, with the UETR highlighted in Block 3 (the User Header) as field 121.
A SWIFT MT103 has five blocks. The UETR sits in Block 3, the User Header, as field 121.

The diagram shows the five blocks of an MT103, with the UETR in block 3 as field 121. In a pacs.008 the same value sits in the UETR element of the payment identification. More in MT103 explained and pacs.008 explained.

Real payments get their UETR from the bank

The sending bank's payment system generates it when it creates the payment instruction. Swift requires every bank after that to pass the same UETR on unchanged and never to create a new one for the same payment. A customer never generates the UETR of a real payment: ask the sending bank for it.

Can I use a generated UETR in a live payment?

No. A live payment's UETR comes from the bank system that creates the payment instruction, and every bank after it passes the same value on. Generated values are for test environments, sample messages, documentation and software tests only.

Why does a UETR return nothing on uetr.ai?

A generated UETR returns nothing because no payment carries it. A real UETR can return nothing too, when the banks have not reported on the payment yet. Check that the reference came from the bank's confirmation, then try again later.

Source: Swift's page What is a Unique End-to-end Transaction Reference.

Have a UETR from a real bank confirmation? See what the banks have reported.

FAQ

Frequently asked questions about the UETR generator

What is a UETR generator?

A UETR generator creates random references in the UETR format, a version 4 UUID such as 6f8d3a2b-1c44-4f8e-9b21-7d2c9f0a1b22, for test payment messages. Developers and payment teams use them to fill field 121 of a test MT103 or the UETR element of a test pacs.008. A generated UETR belongs to no payment, so it cannot be tracked.

How is a UETR generated for a real payment?

The sending bank's payment system generates it when it creates the payment instruction. Swift requires every bank after that to pass the same UETR on unchanged and never to create a new one for the same payment. A customer never generates the UETR of a real payment: ask the sending bank for it.

What format does a UETR follow?

A UETR is a version 4 UUID as defined in RFC 9562 (which replaced RFC 4122): 32 lowercase hexadecimal digits in five groups of 8-4-4-4-12, separated by hyphens, 36 characters in all. The third group starts with 4, the version, and the fourth starts with 8, 9, a or b, the variant. A copy in capitals is the same reference.

Are the generated UETRs unique?

Each one is a random version 4 UUID, which has 122 random bits, so two generated values matching is so unlikely that it can be ignored in practice. This page uses the browser's own crypto.randomUUID function, a cryptographically secure generator.

Are the UETRs generated on a server?

No. They are generated in your browser with crypto.randomUUID, and nothing you generate or check on this page is sent to uetr.ai.

Where does the UETR go in an MT103 and a pacs.008?

In an MT103 the UETR is field 121 in block 3, the user header, written as {121:<UETR>}. In a pacs.008 it is the UETR element inside the payment identification, CdtTrfTxInf/PmtId/UETR. Choose the output format in the generator to get each value ready to paste.

How do I check if a UETR is valid?

Paste it into the format check on this page. It applies the same rules as the uetr.ai tracker: 32 hexadecimal digits in 8-4-4-4-12 groups, version 4 and a variant of 8, 9, a or b. It accepts the same 32 digits without hyphens and capital letters, and shows the reference in its standard form.

Does a valid UETR format mean the payment exists?

No. The format check says only that a reference is written correctly. Whether a payment with that UETR exists is a question for the banks: paste a UETR from a real bank confirmation into uetr.ai to see what the banks have reported.

Can I use a generated UETR in a live payment?

No. A live payment's UETR comes from the bank system that creates the payment instruction, and every bank after it passes the same value on. Generated values are for test environments, sample messages, documentation and software tests only.

Why does a UETR return nothing on uetr.ai?

A generated UETR returns nothing because no payment carries it. A real UETR can return nothing too, when the banks have not reported on the payment yet. Check that the reference came from the bank's confirmation, then try again later.

Related guides

What the UETR means on a real payment, and the two messages that carry it.

Regulatory Disclosure

uetr.ai is an independent information service. We are strictly a read-only payment-monitoring tool. We never hold, move, custody, send, or process money. We are not a money transmitter or payment processor. Always consult your sending bank for the official record of any bank transfer.