Free KHQR QR Code Generator

A KHQR code lets people in Cambodia pay you from their banking app. It holds your Bakong account ID, your name and city, and the currency, riel or US dollars. KHQR is the National Bank of Cambodia's payment code on Bakong, and Cambodian banking apps that accept KHQR scan it.

KHQR QR code designs

Samples in built-in themes. Each one scans, and none leads to a real account. Pick one to start from it in the playground.

How to create a KHQR QR code

Leave the amount empty for a static code anyone can pay any amount, which you can print once and keep. With an amount it becomes a dynamic KHQR, which Bakong requires to carry a creation time and an expiry, so QRdx asks for an expiry day and the code stops working after it.

  1. 1Copy your Bakong account ID (name@bank) from your bank app or the Bakong app and paste it in.
  2. 2Enter the name payers should see and your city, and pick KHR or USD.
  3. 3Optionally add an amount with an expiry day, a bill number or a mobile number.
  4. 4Scan the preview with a banking app that accepts KHQR, then download the code.
Drawing of a phone scanning a payment QR code stand on a market stall, beside a crate of fruit

KHQR QR code format

Format

000201 010211 29[00 <Bakong ID>] 52 5999 53 <116|840> [54 <amount>] 58 KH 59 <name> 60 <city> [62 …] [99 …] 6304<CRC>

Example

00020101021129180014jonhsmith@nbcq5204599953031165802KH5910Jonh Smith6010Phnom Penh6304856B
  • Tag 29 holds the person's own Bakong account ID, up to 32 characters. The merchant category is 5999 and the country KH.
  • Currency 116 is riel and 840 is US dollars. Riel amounts are whole numbers; dollar amounts have up to 2 decimals.
  • Names are up to 25 characters and cities up to 15; the city is Phnom Penh unless you change it. Tag 62 holds the bill number and mobile number.
  • A code with an amount carries its creation time and expiry in tag 99. The checksum is CRC16-CCITT over the whole payload, as in every EMV payment code.

KHQR QR code FAQ

Why does a code with an amount expire?

Bakong requires a KHQR with an amount to carry a creation time and an expiry, so the code stops working after the day you pick. For a sign you print once, leave the amount empty.

Where do I find my Bakong account ID?

In your bank app or the Bakong app; it looks like name@bank. QRdx can't check that an ID exists, so copy it rather than typing it, and scan the preview with a banking app before you print.

Is my account sent to QRdx?

No. The code is made in your browser, and the playground never puts payment details in a link.

Related QR code generators

All 109 types

Make your next QR code

Free in your browser, with no signup or watermark, and dynamic codes when you need them.