A QR code is a square pattern of black and white blocks that stores information a phone can read in a second. QR stands for Quick Response, and the code was built for speed: point a phone camera at it, and the phone opens a website, joins a Wi-Fi network, shows a menu, or adds a contact, without typing anything. This guide explains what a QR code is, how it works, how to make one with tools already on your phone or computer, and how to scan one safely.

Caption: Two visitors looking at QR codes on an information sign. Photo: U.S. Fish and Wildlife Service (public domain), Wikimedia Commons.
What Is a QR Code?
A QR code, short for quick response code, is a two-dimensional barcode. A normal barcode stores information in one line of bars and holds a small amount of data, usually just a product number. A QR code stores information in a square grid, so it holds far more: a web address, a piece of text, Wi-Fi details, a contact card, or a payment link. The phone reads the pattern and acts on what it finds.
You have seen them on restaurant tables, tickets, posters, packaging, parking meters, and boarding passes. Almost every modern phone reads them with the camera app already installed, so no extra app or account is needed.
What are quick response codes? They are not the same as a barcode. A barcode needs a scanner held close and level, and it usually points to a record in a shop’s own system. A QR code can be read from an angle, from a distance, and even when part of it is damaged, and it carries the actual information, such as the web address itself.
A Short History: Denso Wave, 1994
The QR code was invented in 1994 by Masahiro Hara and his team at Denso Wave, a Japanese company that made parts for Toyota. The factory needed a faster way to track car parts than the barcodes of the time, which held little information and had to be scanned one at a time, in a straight line.
Hara’s team designed a square code that held far more information and could be read from any direction, at high speed. It was named QR Code, short for Quick Response, because fast reading was its main feature. Denso Wave published the specifications without charging a licence fee, which is a large part of why it spread worldwide.
The code was standardised as ISO/IEC 18004, first published in 2000. The current edition of the standard is ISO/IEC 18004:2024, which covers the QR code symbology, its encoding methods, and its error correction rules.
How a QR Code Works
A QR code looks like a random scatter of black and white squares, but every part has a job.
The three large squares in the corners are finder patterns. They tell the scanner where the code is, how big it is, and which way up it goes, which is why a phone can read a code held at an angle, upside down, or from across a room. A smaller square, the alignment pattern, helps the scanner cope with a code printed on a curved surface or photographed at a slant.
The rest of the square is made of small black and white blocks called modules. Each module is one bit of information, and together they store the data: the web address, the text, or the Wi-Fi details. Around the edge is a blank white border called the quiet zone, four modules wide, which helps the scanner tell where the code ends and the background begins.
The clever part is error correction. A QR code stores extra repair data alongside the real data, using a method called Reed-Solomon error correction. If part of the code is dirty, scratched, or covered by a small logo, the scanner rebuilds the missing pieces from the repair data. There are four levels: L restores about 7 percent of the code, M about 15 percent, Q about 25 percent, and H about 30 percent, so a code at level H still scans with almost a third of it damaged or covered.
QR codes come in 40 versions: version 1 is 21 by 21 modules, and version 40 is 177 by 177 modules. The largest version holds up to 7,089 numbers or 4,296 letters and numbers.
Static vs Dynamic QR Codes
Not all QR codes work the same way, and the difference matters when you make one. A static QR code stores the information itself, right in the pattern: a static code for a website holds the full web address, so it works forever, as long as the website stays up. It cannot be changed, and nobody can count how many times it was scanned.
A dynamic QR code stores a short redirect address instead. When you scan it, the phone goes to that address, which forwards it to the real destination. The owner can change the destination later without reprinting the code, and can count scans. The catch is that the code depends on the provider that runs the redirect: if the provider closes, or the subscription lapses, the code can stop working. A free dynamic code from an unknown provider is therefore a poor choice for anything printed, because it can die without warning.
For a quick share or anything printed, a static code is the safer choice, because it has nothing to expire. Dynamic codes make sense only when you need to change the destination or count scans, and only from a provider you expect to still exist next year. Our guide on static vs dynamic qr code explains the difference in detail, including when a code expires.
What Are QR Codes Used For?
QR codes are used wherever typing a web address or a password would be slow or error-prone: restaurant menus, event tickets, boarding passes, and payment screens. A code on a table opens the menu, a code on a ticket opens the entry pass, and a code on a bill opens the payment page.

Caption: A woman scanning a QR code with her phone in Mexico City. Photo: Julio Lopez (Pexels licence), Pexels.
They are also used to share Wi-Fi passwords: the code holds the network name and password, so a guest scans it and joins without typing a long password. The same idea works for contact details: a code can hold a vCard, so scanning it adds a person to your contacts.
Two-factor login is another common use: authenticator apps show a QR code when you set up two-factor authentication, and scanning it links the app to your account. Product packaging uses codes to link to instructions, manuals, and warranty pages, and shops use them for loyalty cards and discounts. Our guide to how to make a wifi qr code shows the Wi-Fi case step by step, and our guide to app codes covers netflix qr code login and other apps that use their own codes.
How to Create a QR Code
You do not need to download a QR generator or sign up anywhere to make a basic QR code. The tools already on your computer and phone can do it, and a code made this way is static, so it never expires and nobody tracks its scans. This section covers built-in tools only: an unknown generator site can keep your data, change your code, or charge you later.
In Google Chrome, on a computer
Chrome has a built-in QR generator for any page you are viewing.
- Open Chrome and go to the page you want to share.
- Click More, the three dots in the top-right corner.
- Choose Cast, save, and share, then Create QR code.
- Click Download to save the code as a PNG file, or Copy to put it on your clipboard.
A faster route is to right-click on an empty part of the page and choose Create QR code for this page. The code Chrome makes is static: it holds the page address itself, so it works as long as the page stays up.
In Chrome on a phone
On Android, open the page in Chrome, tap More, then Share, then QR Code. On iPhone, open the page in Chrome, tap Share, then Create a QR Code. Tap Download or Save Image to keep the code in your photos.
On an iPhone, with Shortcuts
The iPhone has no built-in QR maker in the Camera app, but the Shortcuts app can make one. Open Shortcuts, create a new shortcut, add the Generate QR Code action, type or paste the text or web address, and add a Save File or Quick Look action to see the result. It takes a minute to set up, and after that the shortcut is reusable.
On Android, with Google Lens and Chrome
Android has no single built-in QR maker in the system settings, but Chrome on Android makes codes as described above, and Google Lens reads them. For a Wi-Fi code, Android builds one for you: open Settings, then Wi-Fi, tap your current network, and tap Share or the QR code icon.
Before you print a code
Test it. Scan the code with an iPhone and an Android phone before you print it. Print it large enough to scan from the distance people will stand at, keep the contrast high, black on white, and do not cover the three corner squares. Our full step-by-step guide is how to create free qr code, and our guide on how to make a qr code for a link, pdf or website covers links, PDFs, and websites. If you need a code for a form, see qr code for google form.
How to Scan a QR Code
Scanning is the easy half. On a modern phone, you open the camera, point it at the code, and tap the link that appears. You do not need to press the shutter button, and you do not need a separate scanner app. Our full guide is how to scan a qr code.
On an iPhone
Apple added QR scanning to the Camera app in iOS 11, so every iPhone from the iPhone 5s onwards can do it.
- Open the Camera app.
- In Photo mode, position the iPhone so the QR code appears inside the camera frame.
- Tap the link that appears at the bottom of the screen.
You can also use the Code Scanner in Control Center: open Control Center and tap Scan Code. If you do not see it, add it in Settings under Control Center. If the code is in a photo or screenshot already on your phone, open the image in Photos, touch and hold the code, and tap the link. Our iPhone guide is qr code reader online iphone.

Caption: A woman scanning a QR code on a digital wall display. Photo: Walls.io (Pexels licence), Pexels.
On Android
Most Android phones scan QR codes with the camera app, but the exact steps vary by maker.
- Open the Camera app.
- Point it at the code and hold still.
- Tap the notification or link that appears.
On a Samsung phone, check that Scan QR codes is switched on in the Camera settings. On a Pixel, the Lens icon in the Camera app opens Google Lens, which reads the code. On other Android phones, open the Google app or the Google Lens app, tap the camera icon, and point it at the code. Our Android-specific guide is scan qr code google.

Caption: A person scanning a QR code shown on a screen. Photo: Walls.io (Pexels licence), Pexels.
On a computer
A laptop cannot point its camera at its own screen, so scanning a code that is already on your computer needs a different route: hold your phone up to the screen and scan with the phone camera. If the code is in a screenshot or an image file, open it in Google Photos and use Lens to read it. Our guide covers scan qr code online for laptops and screenshots.
If a code will not scan
Move the phone closer or farther away, and hold it steady. Clean the lens, turn up the screen brightness, and try better light. If the code is blurry, damaged, or partly covered, try a different copy of it. A working QR code needs contrast and the whole code visible, so a code printed too small may not scan at all. Our troubleshooting guide covers qr code blurred codes and the other common causes.

Caption: A laptop and a phone on a desk, the two devices most people use to create and scan QR codes. Photo: Enoch Leung (CC BY-SA 2.0), Wikimedia Commons.
Are QR Codes Safe?
A QR code is not dangerous by itself. It is a pattern that holds a link or a piece of information, and the risk is in where that link goes. You cannot read a QR code with your eyes, so you cannot tell where it leads until you scan it. Scammers use that gap: the scam is called quishing, short for QR phishing.
The FTC has warned about scammers covering real QR codes on parking meters with codes of their own, so scanning the fake code takes you to a fake payment site designed to steal money or personal information. Scammers also send QR codes by text or email, with stories about a package that could not be delivered, a problem with an account, or suspicious activity that needs a password change. The code leads to a spoofed site that looks real, and if you log in there, the scammers can steal whatever you type.

Caption: A close-up of a person scanning a QR code for a contactless payment. Photo: iMin Technology (Pexels licence), Pexels.
Five habits keep you safe. First, only scan codes from sources you trust, and be suspicious of a code you did not expect. Second, read the link preview before you tap it, and check the address for misspellings or switched letters. Third, never enter a password or payment details from a QR link you did not expect, and never pay on a site a code opened: type the address you know instead. Fourth, do not scan a random sticker in a public place; it may be pasted over a real code. Fifth, if a code came in a message, contact the company using a phone number or website you already know is real, not the one in the message.
If you think you scanned a bad code, do not contact anyone through the website it opened. If you entered a password, change it at once, everywhere you use the same one, and check your bank and card statements for transactions you did not make. Report the scam to the FTC at ReportFraud.ftc.gov. Our full safety guide is are qr codes safe.
Go Deeper: QR Code Guides
This page covers the whole topic. The guides below go deeper on one part each.
- how to scan a qr code – How to Scan a QR Code (Any Phone or Computer)
- how to create free qr code – How to Create a QR Code for Free (Step by Step)
- best free qr code generator – Best Free QR Code Generators (No Sign-Up, No Expiry)
- scan qr code online – How to Scan a QR Code on a Laptop or From a Screenshot
- qr code blurred – QR Code Not Scanning or Blurry? Causes and Fixes
- static vs dynamic qr code – Do QR Codes Expire? Static vs Dynamic QR Codes
- how to make a qr code for a link, pdf or website – How to Make a QR Code for a Link, PDF or Website
- netflix qr code login – App QR Codes: How to Find Yours on WhatsApp, Instagram, Venmo and More
- scan qr code google – How to Scan a QR Code on Android (Samsung, Pixel and Google Lens)
- qr code for google form – How to Make a QR Code for a Google Form
- are qr codes safe – Are QR Codes Safe? QR Code Scams (Quishing) Explained
- qr code reader online iphone – How to Scan a QR Code on iPhone
- how to make a wifi qr code – How to Make a WiFi QR Code (and Share Your Password)
Watch: How QR Codes Work, and How to Make One
The two videos below show how a QR code works and how to make one. Both were checked live on 24 November 2026.
How do QR Codes Work: Explained in Minutes
How to create QR code for Website and Wi-Fi | Scan QR code in Phones | free QR code generator | 2022
This video is from 2022, so some menu labels have changed; use the written steps above for current menus.
Frequently Asked Questions
What is a QR code, and what is QR code short for?
A QR code is a square pattern of black and white blocks that stores information a phone can read, such as a web address, a piece of text, Wi-Fi details, or a contact card. QR stands for Quick Response; the code was invented in 1994 by Denso Wave in Japan.
What are QR codes used for?
They open a website, show a menu, sell a ticket, take a payment, share a Wi-Fi password, add a contact, or set up two-factor login, all without typing. They are common on restaurant tables, posters, tickets, packaging, and boarding passes.
What does a QR code look like?
A QR code is a square made of small black and white blocks, with three large squares in the corners. The corner squares help the scanner find the code and work out which way up it is.
How do I create a QR code for free?
Use a tool already on your device. In Chrome on a computer, open the page, click More, then Cast, save, and share, then Create QR code, and click Download. On a phone, use Chrome’s Share menu. The code Chrome makes is static, so it never expires.
Do QR codes expire?
A static QR code never expires, because it holds the information itself. A dynamic code can stop working if the provider that runs its redirect closes or the subscription lapses, so use a static code for anything printed.
How do I scan a QR code on my phone?
Open the Camera app, point it at the code, and tap the link that appears. You do not need to press the shutter button or install a separate scanner app.
Are QR codes safe to scan?
A QR code itself is safe, but the link behind it may not be. Read the link preview before you tap it, check the address for misspellings, and never enter a password or payment details from a code you did not expect.
Sources
7
- Denso Wave, “History of QR Code”: https://www.qrcode.com/en/history/
- Denso Wave, “About QR Code”: https://www.qrcode.com/en/about/
- NEC, “Achievements of QR Code Team” (2025 C and C Prize, Masahiro Hara and team): https://www.nec.com/en/press/202510/global_20251017_01.html
- ANSI, “ISO/IEC 18004:2024, QR Code Bar Code Symbology”: https://blog.ansi.org/ansi/iso-iec-18004-2024-qr-code-bar-code-symbology/
- Google Chrome Help, “Share tabs in Chrome” (Create QR code): https://support.google.com/chrome/answer/9979877
- Apple Support, “Scan a QR code with your iPhone or iPad”: https://support.apple.com/en-us/102680
- FTC Consumer Advice, “See a QR code parked somewhere? Don’t scan it… yet!”: https://consumer.ftc.gov/consumer-alerts/2026/09/see-qr-code-parked-somewhere-dont-scan-ityet
Every factual claim on this page was verified against a named source above.



