What happens when you scan a QR code?
A QR code is text printed as a square. Most often, that text is an address — and nothing forces that address to lead where you think.
- Published
- Section
- Digital culture
- Format
- Explainer
- Reading time
- 04 min
- Reference
- FSJ-C03

What the code contains
The pattern encodes a string of characters: a web address, a payment identifier, some text, a Wi-Fi network with its password, a contact card. The camera decodes it and offers the corresponding action. The code itself hosts nothing and contains no program: it’s a label, not content.
Its robustness comes from built-in error correction: a partially damaged, stained or logo-covered code remains readable. That’s handy — and it’s also what lets a code printed on a worn surface keep working.
- 01AddressYou type fideline.studio
- 02DNSThe name is translated into an IP address
- 03ServerThe request goes out, the response comes back
- 04FilesHTML, CSS, JS, images, fonts
- 05RenderingThe browser draws the page
Redirects
Encoded addresses often go through a URL shortener. That’s useful: it makes it possible to count scans, redirect to a different page depending on language, or change the destination after printing. This flexibility has a downside: the real destination is only visible on arrival.
That’s where malicious uses hide: a sticker placed on a parking meter, a charging point or an official poster, leading to a fake payment page that looks like the real one. The attack doesn’t target the code, it targets the context of trust.
Check before opening
- Read the domain name shown in the preview before confirming — it’s the part before the first slash that counts.
- Be wary of a sticker placed over an official sign, or a code misaligned with the print.
- Never enter payment details or login credentials on a page reached only via a code scanned in a public space.
- When in doubt, type the service’s official address yourself rather than following the code.
A QR code doesn’t ask for your trust: the sign it’s printed on borrows it on its behalf.
Why the format took over
The QR code isn’t new: it was designed in the 1990s to track car parts. Its spread comes down to a simple combination — every phone now has a camera that can read it without installing anything, and a printed square costs nothing to produce.
It’s also a convenient bridge between the physical and the digital: a poster, packaging, a shop window or a menu can point to an updated page without being reprinted. The advantage is real, and it’s precisely what creates the grey area: the destination can change after printing.
What the code can trigger
- Open a web page: the most common case, and the one that deserves the most vigilance.
- Pre-fill a transfer or payment: the amount and recipient are in the code, to be checked before confirming.
- Connect to a Wi-Fi network: the network name and password are contained in the code.
- Add a contact or an event, or display simple text: no particular risk.
What the code’s creator sees
If the address goes through a tracking service, each scan produces a trace: date, time, device type, sometimes approximate location. It’s useful for measuring a poster’s effectiveness — and it’s data collection like any other, which should be disclosed just like the rest.
The essentials in 4 points.
- 01A QR code doesn’t contain content, it contains an instruction.
- 02A short address can hide a redirect to anything.
- 03Reading the preview before opening avoids most traps.
- 04A sticker placed over an official sign should raise a red flag.