InputTestHub

PromptPay QR Code Generator

Builds a Thai PromptPay QR from a mobile number, national ID or e-wallet ID, and decodes the payload back for checking.

Generators Nothing uploaded No sign-up Free, unlimited
Generators tool
Fill in the fields and press Build the PromptPay code.
In short A PromptPay QR is an EMVCo Merchant Presented Mode payload with the Thai application identifier A000000677010111 in template 29, and the detail that trips up every implementation is how the mobile number is stored: not as you dial it, but as 0066 followed by the nine national digits — thirteen characters in total. So 081 234 5678 becomes 0066812345678. A national ID goes in a different sub-tag as thirteen plain digits, and an e-wallet ID as fifteen. The currency is 764 and the country is TH. Leave the amount out and the code is reusable; include it and the point-of-initiation field switches to 12, marking it single use. The payload closes with a CRC-16/CCITT-FALSE computed over everything including the "6304" header — the usual place these codes go wrong.

How to use the PromptPay QR Code Generator

  1. Choose what your PromptPay is registered to and enter the number.
  2. Add an amount only if the code is for one specific payment.
  3. Check the decoded table, then test with a small transfer.

About the PromptPay QR Code Generator

The PromptPay QR Code Generator builds a Thai PromptPay QR from a mobile number, national ID or e-wallet ID, and decodes the payload back for checking. It runs as plain JavaScript inside the page, which means there is no upload step, no queue and no size limit imposed by a server — the only limit is your own device.

What people use it for

  • Printing a counter code for a shop or a market stall.
  • Sending a fixed-amount request for an invoice.
  • Generating a code without handing your number to a third-party site.

Details

FormatEMVCo MPM with AID A000000677010111 in template 29
Mobile encoding0066 plus the nine national digits — thirteen characters
National IDThirteen digits, in a different sub-tag
Currency764 (THB), country TH
NetworkNothing is transmitted — built in your browser
The 0066 prefix looks wrong the first time you see it decoded and is exactly right. That is a good reason to read the decoded table rather than assume.

Where this tool stops

It builds a valid payload from what you type. It cannot confirm the number is registered for PromptPay — only your bank can.

Frequently asked questions

Why does the decoded number look like 0066812345678?
Because that is the correct PromptPay format: 0066 followed by the nine national digits. It is not an error and not a country code typed twice. Any spelling you enter — 0812345678, 812345678, +66 81 234 5678 — normalises to the same thirteen characters.
Can I use my national ID instead of a mobile?
Yes, if your PromptPay is registered to it. It goes in a different sub-tag as thirteen plain digits, without the 0066 prefix that mobile numbers get. Choose the right option above or the code will point at nothing.
Does the amount have to be included?
No. Without an amount the code is reusable and the payer types the value, which is what a shop counter code is. With an amount it is single-use, which is what an invoice wants.
My code scans but the bank rejects it.
Check the CRC. Paste the payload into the EMV QR Code Parser on this site — the most common fault is a checksum computed without the 6304 header included.
Is there a limit on how often I can use the PromptPay QR Code Generator?
Free, unlimited, and no email address required. You can use it a hundred times a day and nothing changes.
Is what I paste into the PromptPay QR Code Generator stored?
No. The PromptPay QR Code Generator runs entirely in your browser using JavaScript. Because the work happens locally, the page also keeps working if your connection drops, and closing the tab is all it takes to discard everything.
When would I actually need the PromptPay QR Code Generator?
The jobs it is built for: printing a counter code for a shop or a market stall. Sending a fixed-amount request for an invoice. Generating a code without handing your number to a third-party site. It is built for exactly those cases rather than being a general-purpose tool with this bolted on.
When is the PromptPay QR Code Generator not the right tool?
It builds a valid payload from what you type. It cannot confirm the number is registered for PromptPay — only your bank can. Knowing where a tool stops being trustworthy matters more than the cases where it works.
Which values should I know?
Format is EMVCo MPM with AID A000000677010111 in template 29. Mobile encoding is 0066 plus the nine national digits — thirteen characters. National ID is Thirteen digits, in a different sub-tag. These are printed on the page itself, so you do not have to take them on trust.
Does the PromptPay QR Code Generator work on a phone?
Yes. The page is responsive and the page works in Chrome, Safari, Firefox, Edge and Samsung Internet on both Android and iOS. There is no app to install and nothing to sign into.

Related generators tools

All 53
01

QR Code Generator

Creates QR codes for links, WiFi, contacts, email, SMS and plain text, downloadable as PNG or…

02

Barcode Generator

Generates Code 128, EAN-13, UPC-A, Code 39 and ITF barcodes as PNG or SVG with human-readable…

03

Lorem Ipsum Generator

Generates classic Lorem Ipsum placeholder text by paragraph, sentence, word or list item, with…

04

SKU Generator

Builds structured SKU codes from product attributes, with a consistent pattern across a whole…

05

Invoice Number Generator

Generates sequential invoice numbers in your chosen format, with year, month and prefix…

06

WiFi QR Code Generator

Creates a QR code that connects a phone to your WiFi network automatically, without typing the…

08

Countdown Timer Generator

Creates an embeddable HTML countdown timer to any date, in several styles, with no external…

10

vCard (.vcf) Generator

Builds a downloadable .vcf contact file from a simple form, in vCard 3.0 or 4.0, with correct…