UPI QR code generator
A UPI QR code is a link and nothing more: upi://pay?pa=shop@okaxis&pn=Sharma%20Stores, drawn as a square. NPCI wrote the format down in 2017 and requires every UPI app to read it, so Google Pay, PhonePe, Paytm and BHIM all open a payment from a code made here. The screen won't be quite the one your bank's sticker opens: the sticker carries the bank's signature and ours can't, so some apps add a note that the source couldn't be verified. That's expected, and the payer can still go ahead. What the sticker won't let you do is decide what goes in. Here you can fix the amount for one bill, add a note and an order number, or leave all three out and print a code for the counter that works for every customer.
Merchant apps read this number; with a personal UPI ID it may not show.
Enter a UPI ID and name to see the code.
Enter a value — the code appears here.
Where it is used
- A counter code with no amount, for a shop, a tea stall or a tuition class. The customer scans, types what they owe and pays, and one printout lasts until you change accounts.
- A one-off bill with the amount filled in: ₹4,500 for October's rent with Rent Oct as the note, sent to a tenant on WhatsApp or printed at the bottom of the invoice
- A donation box, a housing society's maintenance notice or a school fee slip, where the note tells you afterwards which payment was for what
How it compares
Your UPI app already has a QR code of its own, and for taking money at a counter it's often all you need. In most apps it carries your ID and your name and little else: no amount for a single bill, no note that turns up in the payer's history, no invoice number. Merchant codes from a bank or a payment gateway go further than ours in the other direction: they're signed with the bank's key and carry a merchant category code, which is what lets the payer's app mark them as a verified merchant. We don't make those and can't, because the signature needs a key only your bank holds. What you get here is NPCI's link without the signature, the form UPI apps have read since before signing was added, with every optional field a person without a merchant contract can fill in.
Common mistakes
- Putting an amount into a code that stays on the wall. NPCI's spec lets the payer edit the amount only when the code carries none, so a counter code that says ₹200 asks every customer for ₹200 whatever they bought. Leave Amount empty for anything permanent.
- A typo in the UPI ID. One wrong letter gives you either an ID that doesn't exist, and the payment fails, or somebody else's, and the money goes to them. Before you print, scan the code with your own phone and read the name on the payment screen. Most apps show the name the bank holds for that ID, not the one you typed as Payee name, so that's the check that counts. Then back out without paying.
- Taking the customer's screen as proof. A screenshot of a payment-successful page proves nothing, and the code can't confirm anything either: it starts a payment, it doesn't report one. The SMS or notification from your own bank is the only receipt worth reading.
- Counting on the order number to show up. NPCI defines tr as the reference merchants use, mandatory for them; with a personal UPI ID some apps pass it on and some never show it to anyone. If the reference matters, repeat it in the note.
Frequently asked questions
- Is it free to make a UPI QR code?
- Yes. The code is a link drawn as a square, nothing gets registered anywhere, and there's no account to make. Whether you pay any fee on money you receive is between you and your bank, and the code has no say in it.
- Where do I find my UPI ID?
- In your UPI app, usually on the profile page or next to your own QR code. It's a name or a phone number, an @ and a short bank handle, like 9876543210@ybl or shop@okaxis. Copy it from there rather than typing it from memory.
- Do I have to fill in the amount?
- No. Without one the code works for any payment and the payer types the sum in their app, which is how a counter code should work. With one, the code is a bill for that sum. Write rupees with a dot before the paise, 250 or 99.50, without the ₹ sign or commas.
- Can someone use my QR code to take money from me?
- No. A UPI QR code can only start a payment to the ID inside it, and nothing moves until the payer approves it in their own app, usually with their UPI PIN. It also means that anyone who asks you to scan a code and enter your PIN to receive money is running a scam: receiving never needs a PIN.
- Is my UPI ID sent anywhere?
- No. The link is put together and the code is drawn inside the page you have open, and nothing you type leaves your browser.