How to Generate UPI QR Codes for Payments (Step-by-Step Guide)
Learn how to generate UPI QR codes in minutes. Step-by-step guide with free tools. Accept payments via PhonePe, Google Pay, Paytm instantly.

A UPI QR code is a square barcode that contains your UPI ID and enables contactless payments. When someone scans it with their phone, it opens their preferred payment app (PhonePe, Google Pay, Paytm, etc.) pre-filled with your UPI address. No typing required. No payment gateway. Just tap, confirm, done.
For freelancers, shop owners, and professionals in India, a UPI QR code is the fastest way to collect payments from anyone with a smartphone.
Why use a UPI QR code?
Instant setup: No registration. No approval. No fees. Generate one in 30 seconds.
Universal acceptance: Every major payment app in India recognizes UPI — PhonePe, Google Pay, Paytm, BHIM, WhatsApp Pay, Flipkart, Amazon Pay. Your customer uses whatever they prefer.
No transaction fees: UPI is free. You keep 100% of what you collect. No middleman taking 2-3%.
Contactless & safe: During and after COVID, contactless payments became non-negotiable. A QR code on your table, counter, or invoice eliminates physical contact.
Works offline-to-online: Print it on your invoice, shop window, or WhatsApp display picture. Works everywhere.
How to create a UPI QR code in 4 steps
Step 1: Get your UPI ID
Your UPI ID looks like: yourname@paytm or yourname@okhdfcbank or yourname@googleplay
If you don't have one, open any payment app (PhonePe, Google Pay, Paytm) and create a UPI handle. Takes 2 minutes.
Step 2: Choose a QR code generator
Use a dedicated tool like the free Anvya AI QR Code Generator. Enter your UPI ID in the "UPI Payment" section.
Step 3: Customize (optional)
Add your logo, change colors, adjust the error correction level. These are optional — the QR still works perfectly in black and white.
Step 4: Download and print
Download as PNG (for digital sharing) or print-ready PDF. Both formats work fine.
Common mistakes to avoid
Mistake 1: Incomplete UPI ID
Your UPI ID must include the @ symbol. "yourname@paytm" works. "yourname" alone does not.
Mistake 2: Hardcoding an amount in the QR
Yes, you can pre-set an amount (upi://pay?pa=yourname@paytm&am=500). But not all apps support it. Let the customer enter the amount — it's safer and more flexible.
Mistake 3: Forgetting to test
Before printing 500 QR codes, test it. Scan with your phone using different apps (PhonePe, Google Pay, Paytm). Confirm it opens to your UPI ID.
Mistake 4: Low print quality
If you print a QR code smaller than 2cm × 2cm, phones struggle to scan it. Minimum: 2cm × 2cm. Ideal: 4cm × 4cm.
When to use QR codes vs. sharing your UPI ID directly
Use a QR code when: You have a physical location (shop, clinic, salon), you invoice customers, you want to accept payments at events or pop-ups.
Share your UPI ID directly when: You're texting a friend, messaging on WhatsApp, you want customers to manually enter it.
Real-world examples
A Delhi barber shop prints a 5cm × 5cm QR code, laminate it, and put it on the counter. Customers scan instead of carrying change. Payment time: 2 seconds.
A freelance writer includes a UPI QR code at the bottom of each invoice. Clients scan and pay immediately. No waiting for bank transfer confirmation.
An ecommerce seller prints tiny QR codes on product packaging. Customers scan to leave reviews, get loyalty points, or subscribe to a newsletter.
Frequently asked questions
Can someone steal money by altering my QR code?
No. A QR code only contains your UPI ID. The payment app opens pre-filled with your UPI address. The customer must confirm the amount and enter their PIN to complete payment. No way for a scammer to bypass the customer's phone.
What if my UPI ID changes?
You'll need a new QR code. Print fresh codes. But your UPI ID rarely changes — it's tied to your phone number and bank account.
Do I need internet to scan a UPI QR?
The phone scanning the QR needs internet. Your phone (the recipient) also needs internet to receive the payment notification. Standard requirement for any digital payment.
Can I use the same QR code everywhere?
Yes. The QR code contains only your UPI ID. Reuse it on your WhatsApp status, Instagram bio, website, printed materials, invoices — anywhere. Same QR, unlimited scans.
Next steps
Generate your UPI QR code now using the free tool. Test it with your friends. Print it, frame it, or share it digitally. Start accepting payments in seconds.


