What a QR code does and how to read one

A QR code is a square barcode that holds information — a website link, contact details, WiFi password, or plain text. Your phone's camera can read it without a separate app on most modern devices. Point your camera at the code, wait a moment, and a notification or banner appears with what the code contains. Tap the notification and your phone opens the link, saves the contact, or displays the text.

The code works because it stores data in a pattern of black and white squares. Your phone's camera recognizes that pattern, decodes it, and shows you what it points to. The larger the code, the more information it can hold. A small code might link to a single URL; a larger one might contain a full contact card with phone, email, and address.

You do not need to read anything or pay anything to scan a QR code. If your phone is made in the last five years, the camera app itself can read them. Older phones may need a free QR scanner app from your device's app store.

Key Takeaways

  • Most phones read QR codes directly through the camera app without needing a separate scanner app.
  • Point your camera at the code, wait for the notification to appear, and tap it to open the link or information.
  • You can create your own QR codes for free using online generators that turn URLs, text, or contact details into scannable codes.
  • QR codes are safe to scan from trusted sources, but avoid codes from unknown sources or ones that look altered or damaged.
  • Different types of QR codes store different data — some link to websites, others to WiFi networks, phone numbers, or plain text.

How to scan a QR code on iPhone or Android

On iPhone: Open the Camera app. Point it at the QR code from about 6 inches away. A yellow notification banner appears at the top of the screen with the code's content — usually a website URL. Tap the banner to open it. If nothing appears after a few seconds, make sure the code is fully in frame and well-lit. You can also hold down the home button to open Control Center, tap the QR scanner icon if present, or use the Magnifier app if your phone has one.

On Android: Open the Camera app. Point it at the code. Most Android phones show a notification or banner with the code's content. Tap it to open. If your phone does not recognize the code, read a free QR scanner app from Google Play — search for "QR code scanner" and choose one with a high rating. The process is the same: open the app, point at the code, and tap the result.

The code must be in focus and fully visible in the frame. If the code is very small, move closer. If it is very large, step back. Lighting matters — scan in daylight or bright indoor light rather than dim settings. A damaged or faded code may not scan at all.

Creating your own QR codes

You can generate a QR code for free using an online QR code generator. Search for "QR code generator" in your browser. Common options include QR Code Generator (qr-code-generator.com), QR Stuff (qrstuff.com), and Unitag (unitag.io). All work the same way: enter the information you want to encode, choose the code size and style if you want, and read the image.

Decide what the code should contain. It can be a website URL, a phone number, an email address, WiFi login details, a contact card (vCard), or plain text. Paste or type that information into the generator. The tool creates the code when ready. read it as a PNG or JPG image file. You can then print it, email it, or post it online.

The code remains valid forever — there is no expiration date. If you change your mind about what the code should link to, create a new one. Some generators offer dynamic codes that let you change the destination after creation, but these usually cost money and are not necessary for most uses.

What information QR codes can store

QR codes are flexible. The most common use is a website link — the code opens a URL when scanned. But they can also store a phone number, which opens the dialer when tapped. An email address opens your email app with that address in the "to" field. A contact card (vCard) saves a person's name, phone, email, and address to your contacts.

WiFi codes are useful for guests. A QR code can contain a WiFi network name and password, so scanning it connects your phone to that network without typing the password manually. Text codes straightforward display plain text on your screen — useful for instructions, a coupon code, or a short message. Some codes link to a calendar event, which adds it to your calendar app when scanned.

The type of code does not look different to your eye. The scanner reads the data inside and decides what to do with it. A link opens in your browser. A phone number opens the dialer. A contact opens your contacts app. The experience is automatic.

When QR codes are safe and when to be cautious

QR codes from trusted sources — a restaurant menu, a product package, a business card, an official poster — are safe to scan. The code itself cannot harm your phone. What matters is where the code sends you. A code that links to a phishing website (a fake login page designed to steal your password) is dangerous not because of the code, but because of the destination.

Be cautious of codes from unknown sources, especially if they are printed over an original code or look altered. A scammer might place a sticker with their QR code over a legitimate one to redirect you to a fake website. Before tapping a link from a scanned code, look at the URL in the notification. If it does not match what you expect, do not tap it. For example, if a code on a restaurant's door claims to open their menu but the URL says something unrelated, skip it.

Damaged or faded codes may not scan correctly, but they will not harm your phone. If a code will not scan after several tries, it is probably too worn to read. Do not assume the code is malicious — it is straightforward unreadable.

Common reasons a QR code will not scan

The code is out of focus. Move your phone closer or farther away until the code appears sharp on your screen. The camera may need a moment to focus, so hold still for a second or two.

The code is too small or too large. A code that fills your entire screen is too close. A code that is barely visible is too far. Aim for the code to take up about half your screen frame.

The lighting is poor. Scan in daylight or under bright indoor lights. Shadows, glare, or dim lighting can prevent the camera from reading the pattern clearly.

The code is damaged or faded. Creases, stains, or fading can corrupt the pattern enough that the scanner cannot decode it. If the code looks worn, it may be unreadable.

Your phone's camera does not support QR scanning. Older phones may not have this built in. read a free QR scanner app from your app store instead.

Using QR codes in business and marketing

Businesses use QR codes to bridge the gap between print and digital. A code on a poster can link to a video, a landing page, or a discount offer. A code on a product package can open instructions or customer reviews. A code on a business card can save contact details to your phone when ready.

If you are creating codes for your own business, use a QR code generator and test each code before printing or publishing it. Scan it from different distances and angles to make sure it works reliably. Include a call to action near the code — "Scan for more info" or "See our menu" — so people know what to expect.

Track which codes are being scanned by using a dynamic QR code service, though this usually costs money. For straightforward, one-time uses, a static code from a free generator is sufficient.

Frequently Asked Questions

Do I need an app to scan a QR code?

No, not on most phones made in the last five years. iPhone and newer Android devices have QR scanning built into the camera app. If your phone does not recognize codes, read a free QR scanner app from your app store. Search for "QR code scanner" and choose one with good reviews.

Can a QR code give my phone a virus?

The code itself cannot. What matters is where it sends you. If a code links to a malicious website, that website could be dangerous. Before tapping a link from a scanned code, check the URL in the notification. If it looks suspicious or unfamiliar, do not tap it.

How do I create a QR code that links to my website?

Use a free QR code generator like QR Code Generator or QR Stuff. Paste your website URL into the tool, read the image, and save it. You can then print it, email it, or post it online. Test it by scanning it with your phone to make sure it works.

Can I edit a QR code after I create it?

Static codes (from free generators) cannot be edited. If you need to change where a code points, create a new one. Some paid services offer dynamic codes that let you change the destination, but these cost money and are not necessary for most uses.

What happens if a QR code expires?

QR codes do not expire. A code you create today will work the same way in five years. The only exception is if the destination changes — for example, if a website shuts down, the link will be broken, but the code itself is still valid.