Guide
QR codes that scan reliably, from the first print to the last
A QR code only matters if it scans: on a crumpled flyer, under restaurant lighting, from across a room, on an older phone. Most failures come from a few avoidable choices: too little contrast, too small a print, too much data, or a logo without enough error correction. This guide covers how to make codes that work, and what each content type actually puts inside the code.
Choose what the code contains
| Type | What scanning does | Tip |
|---|---|---|
| Website | Opens the link | Use a short address; https:// is added if missing |
| Wi-Fi | Offers to join the network | Enter the exact network name and password; mark hidden networks |
| Contact | Saves a contact card (vCard) | Only fill in what you want to share |
| Email / SMS | Opens a pre-filled message | Good for feedback or sign-up flows |
| Phone | Starts a call | Include the country code |
| Opens a chat, optionally with a message | Number with country code, digits only | |
| UPI payment | Opens a UPI app with payee and amount | Amount and note are optional |
| Text | Shows the text | Keep it short |
Everything you enter is encoded directly into the image. Less data makes a less dense code that scans more easily, so prefer short links.
Design without breaking scanning
- Contrast: dark code on a light background, as dark as possible. Pale codes, two similar colors or inverted colors (light on dark) can fail on some phones.
- Style: Classic squares scan most reliably; Rounded and Dots look softer and usually scan fine at a decent size.
- Logo: adding a logo covers part of the code, so error correction is raised to H automatically, which lets up to 30% of the code be unreadable. Keep logos simple and test the result.
- Error correction: M is a good default. Use Q or H for codes that may get scratched or dirty, such as on packaging or outdoor signs. Higher levels make the code denser.
- White space: leave clear space around the code when you place it in a design. Don’t crop it tight or put it on a busy photo.
Size and format for print
A common rule of thumb: make the code at least one tenth as wide as the scanning distance, about 2 cm for a business card or menu, and 30 cm or more for a poster read from 3 meters away.
- SVG for print and design software: a vector image that stays sharp at any size.
- PNG (256 to 4,096 px) for screens, documents and slides, with a transparent background if needed.
- JPG only when a form or app requires it. It always has a solid background.
Static codes: what that means
These are static codes: no redirect service sits between the code and the content. They never expire, have no scan limits, and nobody tracks who scans them. The trade-off is that they can’t be edited after printing. If a destination might change, encode a link to a page you control and update that page instead.
Test before you print a thousand
Scan the final file with two or three different phones, at the actual print size, and in the real lighting if you can. Check that the link opens the right page, that the Wi-Fi code joins the network, and that the contact card saves correctly. Reprinting is far more expensive than testing.
Privacy
The code is generated in your browser. Your Wi-Fi password, contact details and UPI ID aren’t sent anywhere, which matters for codes containing credentials. Settings are remembered in this browser for next time. To check what an existing code contains, use the QR Code Scanner.
Who makes QR codes
- Restaurants and cafés link table cards to a menu page.
- Small businesses put codes on flyers, packaging, shop windows and receipts that open a website, a review page or a WhatsApp chat.
- Hosts, hotels and Airbnb owners let guests join Wi-Fi without typing a password.
- Event organizers link posters to registration pages and schedules.
- Teachers link worksheets to videos or quizzes.
- Shops in India display a UPI payment code at the counter.
A complete example: a Wi-Fi card for guests
- Choose Wi-Fi and type the network name exactly as it appears, including capitals.
- Type the password and keep the security type your router uses (usually WPA/WPA2).
- Keep black on white for reliable scanning; add a small Wi-Fi icon as a logo only if you like.
- Download a PNG at a large size and print it at least 3 cm wide, with the network name written underneath for people who prefer typing.
- Scan the printed card with two different phones before framing it.
A complete example: a flyer for an event
- Choose Website and paste the registration page address. Short addresses make simpler codes that scan from farther away.
- Download as SVG for the designer or print shop, so the code stays sharp at any size.
- Place the code at least 2 cm wide on the flyer, with a short call to action next to it, such as “Scan to register”.
Tips
- Static codes never expire, but can’t be edited after printing; link to a page you control so you can update the content.
- Avoid low-contrast color combinations and light codes on dark backgrounds.
Checked against the current version of the QR Code Generator on .

