QR Codes for Beginners: How to Generate and Use Them
By Instant Tools Hub Team · Published: 18 May 2026 · 4 min read
QR (Quick Response) codes are the square barcode patterns you see on restaurant menus, product packaging, UPI payment screens, and event tickets. When you point your smartphone camera at one, it instantly opens a link, shares contact details, or triggers a payment. Generating your own QR code takes under a minute and is completely free.
What can you encode in a QR code?
- Website URL — the most common use case: send people to your website, portfolio, or social media profile with one scan.
- Plain text — a short message, a Wi-Fi password, or instructions that display on-screen when scanned.
- Phone number — opens the dialer with a number pre-filled (use the format
tel:+919876543210). - Email address — opens a compose window with your address pre-filled (
mailto:you@example.com). - WhatsApp chat link — combine with our WhatsApp click-to-chat generator to create a scannable WhatsApp link.
- UPI payment link — encode a UPI deep link so customers can scan and pay directly.
- Wi-Fi credentials — guests scan the code to join your network without you reading out a password.
How to generate a QR code for free
- Open the QR Code Generator on Instant Tools Hub.
- Type or paste the content you want to encode — a URL, text, phone number, etc.
- The QR code is generated live as you type.
- Adjust the size if needed (larger for print, smaller for digital use).
- Click Download PNG to save the image to your device.
The generator runs in your browser — no account, no email, no watermark on the image.
Where to use your QR code
- Business cards: Print a QR code linking to your LinkedIn or portfolio so contacts can reach you without typing a URL.
- Restaurant menus: Add a table card with a QR code linking to a digital menu — hygienic and easy to update without reprinting.
- Product packaging: Link to a warranty registration form, instructional video, or product details page.
- Event posters: Let attendees scan to register, see the schedule, or get directions.
- Retail payments: Print a UPI payment QR code at the counter so customers can pay by scanning.
- Digital presentations: Add a QR code to the last slide of a presentation linking to your contact page or slides download.
How large should a QR code be?
For printed materials, a QR code needs to be at least 2 cm × 2 cm to scan reliably on most smartphones. For posters or banners viewed from a distance, make it larger — at least 10–15 cm. For digital use (social media, email), any resolution works since the viewer is close to the screen.
Do QR codes expire?
A static QR code — like the ones generated here — never expires. The code simply encodes data; as long as the destination URL remains live, the QR code will continue to work forever. If you later need to change the destination without reprinting materials, use a URL shortener, change the destination of the short link, and keep the QR code pointing to the short link.
Tips for better QR codes
- Always test the QR code by scanning it before printing.
- Use a short URL when encoding a link — fewer characters mean a simpler pattern that scans faster and more reliably.
- Ensure good contrast — dark code on a light background. Avoid placing the code on a busy pattern.
- Leave a white border (called "quiet zone") around the code. Most generators include this automatically.
QR codes for UPI payments in India
One of the most practical uses of QR codes in India is for UPI payments. Every UPI app — Google Pay, PhonePe, Paytm, BHIM — can scan a QR code that encodes a UPI ID and initiate a payment instantly. As a business owner or freelancer, you can:
- Open the QR Code Generator.
- Enter your UPI ID in the format
yourname@bankcode(e.g.,mybusiness@okicici). - Generate and download the QR code.
- Print it at the counter, add it to invoices, or display it on WhatsApp status so customers can scan and pay instantly.
Unlike a dedicated payment gateway, a UPI QR code has no setup cost, no per-transaction fee, and works with every major UPI app in India.
Adding a logo to your QR code — pros and cons
Many businesses want to add their logo to the centre of a QR code to make it look branded. This is possible because QR codes are designed with built-in error correction — they can still be read even if up to 30% of the data is obscured. When you embed a logo, it replaces a portion of the code, and the error correction reconstructs the missing data when scanning.
The trade-offs:
- Pro: Looks professional and reinforces brand identity, especially on business cards and printed materials.
- Con: If the logo covers more than 30% of the QR code area, some scanners may fail to read it. Keep logos small — ideally under 20% of the total QR code area.
- Con: Very detailed or coloured logos can reduce contrast with the QR code pattern, making it harder to scan in poor lighting.
Our QR Code Generator lets you add a logo image to the centre of the code. After generating, always scan the result on at least two different devices before printing.
Dynamic QR codes vs static QR codes — what is the difference?
The QR codes generated on Instant Tools Hub are static — the encoded data is fixed at the moment of generation. If you want to change the destination URL later, you need to generate and reprint a new QR code.
Dynamic QR codes (offered by paid services like Bitly or QR Tiger) contain a short redirect URL instead of the real destination. The redirect service lets you change where the code points without reprinting. This is useful for campaigns where the landing page changes, or for tracking scan analytics.
For most personal and small business uses — visiting cards, menus, payment QRs, Instagram bios — a static QR code is perfectly adequate and costs nothing to generate. If you need scan analytics or the ability to change the destination, consider a dynamic QR service.
QR code on visiting cards — design tips
A visiting card QR code should link to the most useful destination for the recipient — your WhatsApp, your website, your LinkedIn profile, or a custom bio link page. Here are design guidelines for print:
- Minimum printed size: 2 cm × 2 cm. Below this, some scanners struggle.
- Print in black ink on white background for maximum contrast. Avoid printing on textured or metallic paper.
- Add a one-line text hint below the code: "Scan to reach us on WhatsApp" or "Scan for portfolio".
- If space allows, show the URL or a shortened version of it — useful if the scan fails and the recipient wants to type the address manually.
You can build a custom bio link page that consolidates all your links — WhatsApp, Instagram, LinkedIn, portfolio, and more — into one URL. Then link your QR code to that page. Use the Bio Link Page Generator to build one for free.
QR code error levels — what you need to know
QR codes support four levels of error correction, affecting how much damage or obscuring the code can tolerate while still scanning correctly:
- Level L (Low): Up to 7% of data can be recovered. Use for clean digital displays where damage is unlikely.
- Level M (Medium): Up to 15% recovery. Good default for most print materials.
- Level Q: Up to 25% recovery. Use when the code may get dirty or worn (product packaging, outdoor signage).
- Level H (High): Up to 30% recovery. Required when embedding a large logo. Creates a denser, more complex pattern — use a larger print size.
Our generator uses a balanced default error correction level. If you are embedding a logo or printing on outdoor materials, choose a higher error correction level if the option is available.