What this PromptPay QR code contains
PromptPay is Thailand's national transfer service run by its banks, where a mobile number, a national ID or tax ID, or an e-wallet ID stands in for a bank account number. The code made on this page is a credit transfer QR in the Thai QR Payment layout, which is built on the EMV QR Code Specification for Payment Systems, Merchant-Presented Mode (EMV MPM). The field order matches the open-source promptpay-qr reference implementation, and our test suite checks the output against its published test vectors byte for byte.
The QR code holds one line of plain text made of numbered data objects. Each object is a two-digit ID, a two-digit length, and the value. A code for 081 234 5678 with 150 baht looks like this:
00020101021229370016A000000677010111011300668123456785802TH53037645406150.006304CC46
Field by field
| ID | Meaning | What the tool writes |
|---|---|---|
| 00 | Payload format indicator | Always 01 |
| 01 | Point of initiation | 11 when the payer types the amount, 12 when an amount is set |
| 29 | PromptPay account template | Sub-object 00 is the PromptPay application ID A000000677010111. Then 01 for a mobile number (0066 plus 9 digits), 02 for a 13-digit national ID or tax ID, or 03 for a 15-digit e-wallet ID |
| 58 | Country | TH |
| 53 | Currency | 764, the ISO 4217 number for the Thai baht |
| 54 | Amount | Optional, always with two decimals, for example 150.00 |
| 63 | Checksum | CRC-16/CCITT-FALSE over everything before it, as four hex characters |
Input rules the tool enforces
- Mobile numbers are accepted as 0812345678, +66 81 234 5678, 66812345678 or 0066812345678. Spaces, hyphens and brackets are ignored. Anything that is not a 10-digit Thai number starting with 0 is refused.
- National IDs and tax IDs must have exactly 13 digits; e-wallet IDs exactly 15.
- The amount is optional. It must be greater than zero, with up to 10 digits before the decimal point and at most two after it. Commas used as thousands separators are removed.
The tool checks length only. It does not run the checksum digit of a Thai national ID, and it cannot know whether a number is registered for PromptPay.
How the payer's app reads it
A Thai banking app that scans the code reads the PromptPay ID from object 29, then asks the PromptPay system which account it belongs to. The payer normally sees the registered account name before confirming, which is the best moment to catch a typo. If object 54 is present the amount is filled in; if not, the app asks the payer to type one. The checksum in object 63 lets the app reject a code that was printed or copied wrongly.
Below the code, the tool decodes its own image again and confirms it reads back as the exact payload. That proves the image is readable, not that a given bank accepts it. Link2QR has not tested these codes inside banking apps, so pay yourself a small amount first.
Limits of a static PromptPay code
- The code never expires and holds no order number. Every payment to it looks the same in your bank statement, so match payments by time and amount.
- A fixed amount cannot be edited once printed. For a market stall with changing prices, leave the amount empty.
- It is a transfer to a person or business ID, not a merchant payment with a terminal. There is no automatic payment confirmation to the seller; check your own banking app.
Common mistakes
- Choosing "Mobile number" but typing a national ID, or the other way round.
- Using a number that was registered for PromptPay at one bank and later moved or cancelled.
- Printing the code very small or on glossy material that reflects light. Keep a white margin around it.
- Covering part of the code with stickers or a logo after downloading it.
Frequently Asked Questions
Does this tool check that my PromptPay number is registered?
No. It only checks the shape of the number: 10 digits starting with 0 for a mobile number, 13 digits for a national ID or tax ID, and 15 digits for an e-wallet ID. Whether the number is linked to a bank account is known only to the PromptPay system, so scan the code with your own banking app and check the name it shows.
Can I change the amount later?
No. The amount is part of the printed text and of the checksum. To charge a different amount, make a new code, or leave the amount empty so the payer types it each time.
Why does my mobile number appear as 0066 in the code?
PromptPay codes carry mobile numbers in international form with the 0066 prefix and no leading 0, as in the reference implementation the layout follows. 081 234 5678 becomes 0066812345678. Your number is not changed, only written differently.
Is my number sent to Link2QR?
No. The payload and the QR image are built by JavaScript in your browser. The form has no submit step and nothing you type is sent to a server.
Can I add my logo or change the colors?
This page draws a plain black-on-white code at error correction level M, because payment codes are scanned by many different banking apps in varied light. If you restyle the image elsewhere, keep strong contrast and test it with several apps before printing.