QR Code Generator
Generate QR codes for any URL, text, phone number or UPI payment link. Downloads as PNG. Works entirely in your browser.
What is error correction in QR codes?
Error correction allows a QR code to be read even if part of it is damaged, dirty, or covered. Higher error correction means more redundancy — useful if you plan to add a logo over the center of the QR code, but also results in a denser, more complex code.
UPI QR code format
UPI (Unified Payments Interface) QR codes follow the format: upi://pay?pa=UPI_ID&pn=Name&am=Amount&cu=INR&tn=Note. Any UPI app (PhonePe, GPay, Paytm, BHIM) can scan these codes to pre-fill the payment details.
Your UPI ID, e.g. yourname@upi or phone@paytm. This is mandatory.
Your display name that appears in the payer's app. Use your business or personal name.
Optional fixed amount. Leave blank to let the payer enter the amount.
Frequently asked questions
Is the QR code generated on my device?
Yes. This tool uses the qrcodejs library which runs entirely in your browser. Your text or URL is never sent to any server. You can verify this by disconnecting from the internet after the page loads — it still works.
What is the maximum text length a QR code can hold?
A QR code can hold up to 4296 alphanumeric characters or 2953 bytes of binary data at error correction level L. Longer content creates denser codes that may be harder to scan. Keep URLs short using a URL shortener if needed.
Can I add my logo to the QR code?
This generator creates a plain QR code. To add a logo, use error correction level H (30% recovery), then overlay a logo image covering at most 30% of the center area using an image editor after downloading the PNG.
Why does my UPI QR code work on some apps but not others?
UPI QR codes follow the BharatQR or UPI deep-link format. Most major apps (PhonePe, GPay, Paytm, BHIM) support the upi:// scheme. Some older banking apps may require scanning from within the app rather than the device camera.
What size QR code should I use for printing?
For print, use 512px and export at 300 DPI. A 512px image at 300 DPI prints at about 4.3 cm × 4.3 cm. For business cards, the minimum print size for reliable scanning is about 2 cm × 2 cm.