What Is a QR Code? Everything You Need to Know in 2026
What a QR code is, how it stores data, what it can open on a phone, and how to make one that keeps working. A plain-English guide for 2026.
By StylQR Editorial TeamPublished 6 min read

Table of contents
A QR code is a square, two-dimensional barcode that stores information in a grid of black and white squares. Point a phone camera at it and the phone decodes that grid in a fraction of a second, then offers to do something with it: open a website, join a Wi-Fi network, save a contact or start a payment.
That's the short version. Below is how the pattern actually holds data, what a QR code can and can't do, and what to get right if you're making one for something people will really scan.
Where QR codes came from
QR stands for Quick Response. The code was invented in 1994 by Denso Wave, a Toyota group company, to track car parts on production lines faster than one-dimensional barcodes allowed. A regular barcode holds a few dozen characters in one direction; a QR code stores data both horizontally and vertically, so it fits far more into a small square and can be read from any angle.
Denso Wave published the format openly and chose not to exercise its patent, which is why anyone can generate and print QR codes today. The format is standardized internationally as ISO/IEC 18004.
What the squares in a QR code mean
Every QR code shares the same anatomy, even when it's been styled with colors and rounded dots:
- Finder patterns: the three large squares in the corners. They tell the scanner where the code is and which way up it sits.
- Alignment and timing patterns: smaller markers and dotted lines that help the scanner correct for curved surfaces and odd angles.
- Data modules: the remaining small squares. Each one is a 1 or a 0, and together they encode your content.
- Error-correction data: extra modules that let the code survive damage, which we'll come back to.
- Quiet zone: the empty margin around the code. Scanners need it to find the edges, so don't crop it away.
QR codes come in 40 sizes, called versions. Version 1 is a 21 × 21 grid; each version adds four modules per side, up to 177 × 177 for version 40. The more you put in, the bigger the version and the denser the pattern.
How much a QR code can hold
At the largest size and lowest error correction, a single QR code can hold up to 7,089 digits, 4,296 alphanumeric characters or 2,953 bytes of binary data, according to Denso Wave's specification summary.
In practice you'll rarely want anywhere near that. A code packed with data has tiny modules, and tiny modules are hard to scan from a poster or a crumpled flyer. A short link of 30 characters gives a clean, open pattern that works at small sizes. For the full breakdown, see how much information a QR code can store.
Error correction: why a scratched code still works
QR codes include redundant data so the scanner can rebuild missing parts. There are four levels:
| Level | Approximate data that can be restored | Good for |
|---|---|---|
| L (Low) | about 7% | Clean screens, maximum capacity |
| M (Medium) | about 15% | Everyday print, the usual default |
| Q (Quartile) | about 25% | Codes that may get scuffed |
| H (High) | about 30% | Codes with a logo in the middle |
That redundancy is also what makes logo QR codes possible: the logo covers some modules, and error correction fills them back in. It only works up to a point, which is why a logo should stay modest in size. StylQR switches to level H automatically when you add one.
What a QR code can do when you scan it
A QR code doesn't "do" anything by itself. It holds text, and the phone decides what to offer based on how that text is formatted. Some common formats:
- Website link:
https://example.com/menuopens in the browser. - Wi-Fi:
WIFI:T:WPA;S:CafeGuest;P:latte2026;;offers to join the network. - Contact card: a vCard block offers to save a new contact.
- Email, SMS and phone:
mailto:,sms:andtel:links open a pre-filled message or dial a number. - Payments: in India, a
upi://pay?...link opens any UPI app with the payee filled in. - Plain text: shown on screen, no internet needed.
StylQR has a separate generator for each of these and more, 41 types in all, so the formatting is handled for you. You can browse every QR code type to find the right one.
Static and dynamic QR codes
This is the distinction that matters most before you print anything:
- A static QR code stores the final content in the pattern itself. It works forever, has no scan limit and needs no account, but you can't change where it points once it's printed.
- A dynamic QR code stores a short redirect link owned by a service. You can change the destination later and see scan counts, but the code stops working if that service or your subscription ends.
StylQR creates static codes today, and editable dynamic codes are on the way. If you think a destination might change, point the static code at a page on your own website and update that page instead. Static vs dynamic QR codes covers the trade-offs in detail, and whether QR codes expire explains why some "free" codes suddenly stop working.
How to make a QR code that people actually scan
A QR code that technically works isn't the same as one people use. A few habits make the difference:
- Keep the content short. Link to a clean URL rather than one loaded with tracking parameters.
- Keep strong contrast. Dark modules on a light background. Light-on-dark codes fail on many older scanners.
- Print it big enough. Around 2 × 2 cm (0.8 inch) is the practical minimum for close-up scanning. For signs, make the code roughly one-tenth of the scanning distance, so a code read from 2 meters should be about 20 cm wide.
- Leave the quiet zone. Don't let text or artwork touch the edges.
- Tell people what they'll get. A frame that says "Scan for the menu" gets more scans than a bare square.
- Test before printing. Scan the final file with two different phones, at the size and distance it will really be used.
If a code still won't scan, these 12 common causes and fixes cover nearly every case.
Are QR codes safe?
The code itself can't harm your phone. The risk is where it sends you: a sticker placed over a real code can lead to a fake login or payment page. Before you enter a password or pay, check that the address shown matches the business you expect. You can also scan unfamiliar codes with the StylQR QR code scanner, which checks links for common phishing signs before you open them. Are QR codes safe? goes further into spotting fake codes.
Where to go from here
If you just need a code for a link, the URL QR code generator is the quickest start. Pick a different type when the scan should do something specific, such as joining Wi-Fi or saving a contact, and add your logo and colors once the content is right. For more ideas on what to use them for, see 15 creative ways to use QR codes.
Frequently asked questions
What does QR stand for?
QR stands for Quick Response. Denso Wave, the Japanese company that invented the code in 1994, chose the name because the pattern was designed to be read quickly.
Do I need an app to scan a QR code?
Usually not. The camera app on iPhones running iOS 11 or later reads QR codes directly, and most current Android phones do the same through the camera or Google Lens.
Can a QR code work without internet?
Scanning itself is offline because the data is in the pattern. Whether you need a connection depends on the content: text, contact cards and Wi-Fi details work offline, while a website link needs internet to load the page.
Is a QR code free to use commercially?
Yes. Denso Wave holds the QR Code trademark and patents but chose not to exercise the patent rights, so anyone can create and print QR codes, including on commercial products.


