You have scanned hundreds of them — on menus, posters, parcels and payment terminals — but what actually happens in that half-second between pointing your camera and a website opening? A QR code is one of the most quietly useful inventions of the last thirty years, and understanding how it works makes you far better at creating ones that do their job.
What a QR code actually is
QR stands for “Quick Response.” It is a two-dimensional barcode: a grid of black and white squares that stores information in both directions, horizontally and vertically. That two-dimensional layout is the whole trick. A traditional supermarket barcode is one-dimensional — a row of lines — and can only hold around 20 digits. A QR code can hold several thousand characters in the same physical space because it uses the entire square, not just a single line.
Each small square in the grid is called a module. The pattern of dark and light modules is a binary message: dark is one value, light is the other. A scanner reads the whole grid at once, reconstructs that binary data, and hands it to your phone as text — usually a web address, but it can be almost anything.
Because the pattern is purely visual, a QR code is also remarkably durable across media. The same code can be printed on a glossy magazine, etched into stainless steel, woven into fabric, or shown on a screen, and it reads the same way every time. There is no battery, no chip, and no connection — just a pattern of light and dark that any capable camera can interpret. That simplicity is exactly why the format has outlasted flashier alternatives.
How a scan works in practice
When you point your camera at a code, three things happen almost instantly. First, the camera locates the code using the three large square “finder patterns” in the corners — these tell the scanner where the code is and how it is rotated, which is why a QR code reads even when it is upside down or at an angle. Second, the scanner samples the grid and converts the modules into raw data. Third, your phone interprets that data and offers an action: open this link, join this Wi-Fi network, save this contact.
Crucially, the QR code itself is not “connected” to anything. It is just printed data. The intelligence lives in your phone and in whatever the data points to. That is why a QR code works on paper, on a screen, etched into metal, or projected onto a wall — it carries its meaning with it.
It is worth appreciating how forgiving this process is. The scanner does not need a perfect, head-on photograph; it can correct for perspective, rotation and modest blur, reconstructing the grid from an imperfect capture. This is why scanning feels instant even when you hold the phone at an awkward angle or the lighting is poor — a great deal of clever engineering is hidden behind that half-second.
Why a damaged code still works
One of the most clever parts of the QR standard is error correction. When a code is generated, extra redundant data is woven in using a mathematical technique called Reed–Solomon coding. This means a scanner can rebuild the original message even if part of the code is dirty, torn, or covered.
There are four levels — L, M, Q and H — recovering roughly 7%, 15%, 25% and 30% of the code respectively. This is exactly why you can drop a logo into the middle of a QR code and it still scans: the error correction quietly compensates for the area the logo covers. If you brand a code heavily, raise the level to Q or H to give the scanner more room to recover.
What a QR code can store
The most common payload is a URL, but the format is flexible. A code can hold plain text, an email address with a pre-written subject and body, a phone number ready to dial, an SMS, a Wi-Fi network name and password, a full contact card (vCard), a calendar event, GPS coordinates, or a payment request. The phone recognises the type of data and offers the matching action.
Because the data is encoded directly, these “static” codes work forever and need no server. The trade-off is that they cannot be edited after printing — if you need to change the destination later, you point the code at a redirect link you control instead. That is the difference between static and dynamic codes, and choosing correctly saves a lot of reprinting.
Why they took over
QR codes were invented in 1994 by a Japanese engineer at Denso Wave to track car parts on an assembly line. For two decades they were an industrial tool. What changed everything was the smartphone: once every phone shipped with a camera that could read codes natively, the friction disappeared. No app, no typing — just point and go.
The pandemic accelerated adoption enormously as businesses scrambled for contactless menus, check-ins and payments. Today they are a permanent bridge between the physical world and the digital one, and they are only getting more capable.
Creating your first QR code
Now that the mechanics make sense, creating one is straightforward. You choose what the code should do — open a link, share Wi-Fi, save a contact — enter the details, optionally style it with your colors and logo, and download it in the right format for where it will live. A good generator handles the encoding and error correction for you; your job is to make sensible choices about content and design.
The decisions that matter most are the ones this guide has touched on. Pick static or dynamic based on whether the destination might change. Keep strong contrast and a clear margin. Size the code for how far away it will be scanned. Add a logo only with higher error correction. And always test the finished code on a real phone before you commit it to print.
None of this is difficult, but each choice quietly determines whether your code works flawlessly or frustrates people. The technology is genuinely forgiving — it was engineered from the start to tolerate damage, angles and imperfect conditions — so a little care at creation time is rewarded with a code that simply works, everywhere, for as long as you need it to.
- A QR code is a 2D grid that stores data in dark and light squares.
- The three corner squares let it scan at any angle.
- Built-in error correction is why a logo or a smudge doesn't break it.
- Static codes are permanent; dynamic codes use an editable redirect.
- No app needed — modern phone cameras read them natively.
Ready to put this into practice?
Create a free, branded QR code in seconds — no sign-up, no watermark.
Open the generator Try Animated QR