Sharjeel TahirYour everyday toolkit
Menu
HOW-TO GUIDE

QR code generator guide: create and scan QR codes free

QR codes are everywhere — menus, payments, WiFi sharing, business cards. This guide shows how to create them in seconds, which type to use for each job, and how to make codes that actually scan reliably.

Published October 9, 20269 min readBy Sharjeel Tahir

What is a QR code and how does it work?

A QR code is a two-dimensional barcode that stores information — a link, WiFi credentials, contact details — as a pattern of black and white squares your phone camera can read instantly. Unlike old barcodes that hold a few dozen characters, a QR code can store thousands, which is why one scan can open a website or join a network.

Point your phone camera at a QR code and it decodes the pattern into action: open a URL, connect to WiFi, save a contact, or start a payment. No app needed on modern phones — the camera app itself recognizes QR codes on both Android and iPhone.

QR codes include built-in error correction: up to 30% of the code can be damaged, obscured or stylized and it still scans. That's why you can put a logo in the center of a QR code or print one on a slightly crumpled flyer and it keeps working. Higher error correction means a denser code, so there's a tradeoff between decoration tolerance and scannability at small sizes.

Two flavors exist: static and dynamic. Static codes bake the data directly into the pattern — free forever, never expire, but you can't change the destination later. Dynamic codes point to a redirect service, so you can update the link and track scans — but they depend on that service staying alive, and usually cost money. For most personal and small-business uses, static is the right choice: it can't break, be tracked, or start charging you.

The free QR code generator on this site creates static codes — your data goes straight into the pattern, nothing is stored on any server, and the code works forever.

How do you create a QR code step by step?

Open a free QR generator, choose the content type (URL, text, WiFi, contact), enter the information, customize colors if you like, download the PNG, and test-scan it with your phone before printing or sharing. The whole process takes under a minute and needs no account.

With the QR code generator:

  • Pick the type. URL for links, plain text for messages, or use the dedicated WiFi QR generator for network sharing — it formats the credentials correctly so guests join with one scan.
  • Enter the content carefully. For URLs, include the full https:// address and test the link first — a QR code pointing to a broken page is worse than no code. For WiFi, double-check the password character by character.
  • Keep the data short. Shorter content makes a simpler, more reliable pattern. Use a short link rather than a 200-character URL with tracking parameters.
  • Download as PNG. PNG keeps the edges razor sharp; JPG blur can hurt scanning at small sizes.
  • Test before you print. Scan with two different phones (an Android and an iPhone if possible) at the size you'll actually use.

The most common creation mistake is encoding too much data. A QR code holding a full paragraph of text becomes extremely dense — it needs to be printed large and scanned in good light. If your content is long, put it on a web page and encode the short URL instead.

For WiFi sharing specifically, the dedicated generator matters: it produces the exact WIFI:T:WPA;S:network;P:password;; format phones expect, including handling special characters in passwords. Typing this format by hand is error-prone; let the tool build it.

Which QR code type should you use?

Use URL codes for links and menus, WiFi codes for guest network sharing, vCard codes for business cards, plain text for short messages, and payment-app codes for receiving money. Match the type to the action you want — the wrong type adds friction, like a URL code when you wanted a contact save.

URL codes — the workhorse. Restaurant menus, product pages, event registrations, YouTube videos, feedback forms. Anywhere you'd otherwise print or speak a long web address. Tip: use a short, stable URL — if the page moves later, a static code can't follow it.

WiFi codes — print one and frame it for guests, Airbnb visitors or café customers. One scan joins the network; nobody types a 16-character password from the bottom of the router again. Regenerate when you change the password.

vCard/contact codes — on business cards, email signatures and conference badges. One scan saves your name, phone, email and company directly into the phone's contacts — far more reliable than hoping someone types it correctly.

Plain text codes — short messages, coupon codes, serial numbers, instructions. Keep it under a sentence or two; long text makes dense, hard-to-scan codes.

Payment codes — Easypaisa, JazzCash and bank apps in Pakistan generate their own receive-money QR codes inside the app. Don't try to hand-build these with a generic generator; the payment app's format includes account verification a generic tool can't replicate.

How do you make QR codes that scan reliably?

Keep strong contrast (dark code on light background), leave a quiet zone of white space around the code, print at least 2×2 cm (larger for distance scanning), test with multiple phones, and avoid placing codes on curved, reflective or moving surfaces. Contrast and size cause 90% of scanning failures.

Contrast is king. Black on white scans best. Inverted codes (white on black) fail on many phones. Colored codes work only with strong light-dark contrast — dark blue on white is fine; yellow on white is not. When in doubt, stick to black on white.

Respect the quiet zone. The blank margin around a QR code isn't decoration — scanners need it to find the code's edges. Keep a clear border at least as wide as the code's corner squares on all four sides. Don't let text, logos or design elements crowd it.

Size for the scanning distance. Minimum ~2×2 cm for hand-held scanning (business cards, packaging). For posters scanned from a meter away, go 5 cm+. Rule of thumb: the code should be about 1/10th of the expected scanning distance. A code on a billboard scanned from 10 meters needs to be a meter wide.

Placement matters. Flat beats curved (bottles and mugs distort the pattern), matte beats glossy (reflections blind cameras), still beats moving (vehicle wraps look cool and scan terribly). In print, test the actual printed piece — screens lie about contrast and sharpness.

Always test. Scan the final artwork with at least two phones, in the lighting where it'll be used, at the real size. This 60-second test catches every failure mode above before you've printed 500 flyers.

Are QR codes safe? What are the scams?

QR codes themselves are safe, but they can hide malicious links — sticker-over scams on parking meters and fake payment codes are the real threats. Before acting, preview the URL your phone shows, never scan codes that look pasted over originals, and never enter passwords or approve payments from an unexpected scan.

A QR code is just a machine-readable link — it has no security of its own. Attackers exploit this with quishing (QR phishing): stickers placed over legitimate codes on parking meters, restaurant tables and parcel notices, redirecting to fake payment or login pages. The defense is simple and effective:

  • Preview before you tap. Your phone shows the URL before opening it — read it. A parking payment that resolves to a random domain is a scam.
  • Inspect physical codes. If a QR sticker looks pasted over another code, or the signage looks tampered with, don't scan it.
  • Never approve payments from surprise scans. Payment codes you didn't expect — on a parcel slip, a random flyer — deserve suspicion.
  • Don't enter credentials after scanning. Banks and real services don't ask you to log in via a scanned link out of nowhere.

On the creation side, you're safe: generating a QR code with a browser-based tool exposes nothing, since the data you encode is exactly what you typed. Static codes contain no tracking — unlike dynamic-code services, which can log every scan. For personal use, static codes are the privacy-respecting choice.

One more practical note: QR codes don't expire. That menu QR from 2021 still works — which is great until the linked page is gone. If you print codes on durable materials (signage, plaques), link them to URLs you control and intend to keep.

How do you scan a QR code on any phone?

On iPhone and most Android phones, just open the camera app and point it at the code — a notification or link preview appears automatically. If your camera doesn't detect it, check camera settings for a QR scanner toggle, use Google Lens, or take a photo and scan the image from your gallery.

iPhone: Open Camera, point at the code, tap the notification banner. It works in Photo mode; no separate app needed since iOS 11. If nothing happens, check Settings → Camera → Scan QR Codes is on.

Android: Open the camera and point — most manufacturers (Samsung, Xiaomi, Oppo, Vivo, Pixel) detect codes natively. If yours doesn't, open Google Lens (in the camera app or the Google app) and point it at the code. As a fallback, photograph the code and open the photo in Lens.

Troubleshooting scans: Hold steady and let the camera focus — moving phones are the top cause of failures. Improve lighting or move out of glare. Get closer rather than using digital zoom (zoom degrades the pattern). Clean a smudged camera lens — you'd be surprised how often that's the fix. And if a code on screen won't scan, raise screen brightness.

Scanning from an image: Received a QR code in WhatsApp or email? Screenshot it, then open the screenshot in Google Lens (Android) or use the Live Text / QR detection in Photos (iPhone). No need to display it on a second screen.

Create your QR code now

Links, WiFi, contacts or text — generate a crisp, scannable QR code in seconds. Free, no sign-up, no watermark.

Open the QR generator ↗

Frequently asked questions

Do QR codes expire?

Static QR codes never expire — the data is baked into the pattern itself. Dynamic codes (from paid services) stop working if the service shuts down or your subscription lapses. For anything printed on durable materials, static is the safe choice.

Can I put my logo in the middle of a QR code?

Yes, thanks to error correction — up to ~30% of the code can be obscured and it still scans. Keep the logo small (under ~20% of the area), maintain contrast, and always test-scan after adding it. For critical uses like payments, skip the logo.

How small can I print a QR code?

About 2×2 cm for hand-held scanning. Smaller than that, phone cameras can't resolve the pattern reliably. Scale up with distance: roughly 1/10th of the scanning distance — a poster scanned from 2 meters needs a ~20 cm code.

Why won't my QR code scan?

Check the usual suspects in order: poor contrast, code too small, no quiet zone margin, glare or reflection, camera out of focus, or too much data making the pattern overly dense. Test with a second phone to rule out device issues.

Is it safe to scan random QR codes?

Preview the URL before opening it, and be suspicious of codes that look stuck over originals or arrive unexpectedly. Never enter passwords or approve payments from a scan you didn't initiate — quishing scams rely on rushed taps.

What's the difference between static and dynamic QR codes?

Static codes contain the final data directly — free, permanent, untrackable. Dynamic codes contain a redirect link managed by a service — editable and trackable, but dependent on that service and usually paid. Use static unless you specifically need editability or scan analytics.

Portrait of Sharjeel Tahir
About the author

By Sharjeel Tahir

He builds free online tools — including the QR code generator, WiFi QR generator and password generator referenced in this guide — and writes practical how-to articles for everyday computer users.

Published: 2026-10-09