A printed menu can send your phone to a website without showing the address in letters. That small square does a surprisingly specific job. It encodes information in a pattern your camera and its software can read. The page that appears afterward is fetched separately. If the restaurant changes its menu at the same web address, the printed square can stay the same.
The corners help the reader find its place
DENSO WAVE, which developed the QR code, describes three position-detection patterns at the corners. These large, recognisable squares help the reader locate the symbol and work out its orientation. That is why you can often point a camera at a code that has been printed sideways and still read it. The smaller squares are part of the pattern that carries the encoded information and helps the reader interpret it.
Some of the data are there to help recover the message if part of the symbol is damaged. DENSO WAVE describes four levels of error correction. The design trades space for recoverability. More correction data can help restore a damaged message, but it takes space that could otherwise be used to carry the message itself. A smudge may leave enough information to reconstruct the contents. Damage, blur or a poor image can still prevent a read.
A link is one possible message
Suppose a fictional notice says to scan for library opening hours. The decoded text might be an address pointing to the library’s hours page. A second code might simply contain the words ‘Open at 10 a.m.’ The first needs the page to load if you want to see its current contents. The second contains those words directly. A camera reading the code has done its part in either case.
Now suppose someone covers the first code with a different sticker. The scanner may read the replacement perfectly. Error correction helps recover what was printed. It does not determine who printed the sticker or whether its address belongs to the library.
Look at the destination before you act
If your scanner previews a web address, check the domain before you tap. The US Federal Trade Commission advises looking for misspellings or substituted letters when a code appears somewhere unexpected. If a surprise message uses a code to urge immediate action, the agency recommends checking with the organisation through contact details you already know.
The useful distinction is between decoding and trusting. Decoding turns a pattern into information. You can decide what to do with that information using the same checks you would bring to a link written in ordinary text.
Sources & further reading
- DENSO WAVE · What is a QR Code?
Explains the format’s encoding and links to the orientation features and use cases.
- DENSO WAVE · Error correction feature
Explains damage recovery levels and the space required to store correction data.
- Federal Trade Commission · Harmful links in QR codes
Describes destination checks for unexpected or suspect QR links.