How to Create a QR Code for a Website, Wi-Fi, Contact or Payment
In this article
A QR code can open a website, join a Wi-Fi network, save a contact, start a UPI payment or show a location on a map. They all look like the same black-and-white square, but the data inside is different, and picking the right type decides what the phone does when someone scans it. This guide covers the common types, static vs dynamic codes, and how to print a code that scans first time.
What's inside a QR code
A QR code is text stored as a pattern of squares. The three large squares in the corners let a camera find the code and work out its angle. The code also stores extra error-correction data, so it still scans when part of it is dirty, scratched or covered by a small logo.
The phone decides what to do from the format of the text:
| Type | What the text looks like | What happens on scan |
|---|---|---|
| Website | https://example.com/menu | Opens the page |
| Wi-Fi | WIFI:T:WPA;S:CafeGuest;P:chai2026;; | Offers to join the network |
| Contact (vCard) | BEGIN:VCARD … END:VCARD | Offers to save the contact |
| UPI payment | upi://pay?pa=yourname@okaxis&pn=… | Opens a UPI app with the payee filled in |
| Location | A Google Maps link or geo: coordinates | Opens the map |
| Plain text | Any text | Shows the text |
A Wi-Fi code made with a plain-text generator just shows the password on screen; one made in the Wi-Fi format joins the network. That's why it's worth using the right generator for each type.
Static vs dynamic QR codes
A static code holds the content itself. It works for as long as the content is valid, with no service in between, but you can't change it after printing.
A dynamic code holds a short redirect link. Scanning goes to the redirect service, which forwards to your real destination. You can change the destination later and see how many times it was scanned, but the code only works while the redirect service keeps running.
Use static codes for things that don't change: Wi-Fi, contact cards, a UPI ID, an address. Use a dynamic code for a link you may need to update, such as a menu that changes, a seasonal offer or anything printed in large numbers. Only website links can sensibly be dynamic; a Wi-Fi password or UPI ID has nothing to redirect.
Printing a code that scans
Size
A common rule: the code should be at least one-tenth of the scanning distance. Scanned from 30 cm (a table card), 3 cm is enough. From 1 metre (a counter sign), make it 10 cm. From across a room, much bigger. Codes with a lot of data, like a long URL or a full contact card, have smaller squares and need to be printed larger.
Quiet zone
Leave a plain light border around the code, at least four squares wide. Codes cropped right to the edge, or placed on a busy background, are a common reason for failed scans.
Contrast
Dark code, light background. Black on white is the most reliable. Colours work if the contrast is strong; light grey on white, or a light code on a dark background, often fails with older phones.
Logos
A small logo in the centre is fine if the error-correction level is high enough. Keep it small, and test the result.
Test the printed copy
Print one copy and scan it with two or three different phones, in the light where it will be used. Paper, ink and glossy lamination can change how a code scans compared with your screen. A test print costs a few rupees; a reprint of 500 menus costs a lot more.
Common mistakes
- A code sized for a business card used on a wall poster.
- No label. "Scan for Wi-Fi" or "Scan to pay" tells people what to expect.
- A static code for a link that will change, forcing a reprint.
- Pointing a code at a page that isn't mobile-friendly. Everyone who scans is on a phone.
- Covering too much of the code with a logo.
Where each type is useful
- Restaurant or café: a website code on each table for the menu, a Wi-Fi card at the counter, and a Google review code near the bill.
- Shop counter: a UPI code for payments. See how to make a UPI QR code for your shop.
- Business card: a contact code so people save your details without typing.
- Event invitation: an event code that adds the date to the guest's calendar, plus a location code for directions.
- Home or office: a Wi-Fi code framed near the router.
- App download: an App Store code that sends iPhones to the App Store and Android phones to Google Play.
Making a QR code with Kravoy

- Pick the generator for what you want the scan to do: website, Wi-Fi, contact, UPI, text and others.
- Fill in the details. Each generator checks what you type, so a malformed UPI ID or link doesn't end up printed.
- Change the colours or add a logo if you like, keeping the contrast strong.
- Download as PNG for screens, or SVG for printing at any size.
- Scan the result with your own phone before you print.
The codes are made in your browser. For a website link you may need to change later, the website generator can also make a dynamic code once you log in with a free account.
Frequently asked questions
Do QR codes expire?
Static codes don't; they work as long as the content is valid. Dynamic codes stop working if the redirect service is shut down or the account is closed.
Can I change a QR code after printing it?
Only a dynamic code. A static code would have to be regenerated and reprinted.
Why won't my QR code scan?
Usually it's too small for the distance, has no white border, has weak contrast, or the logo covers too much. Test-print and scan before printing in bulk.