CYBER WELFARE

Protect your Digital Privacy

How to hide a QR code in a photo: the steps in priority order

The boarding pass in your hand, the concert ticket in front of the stage, the Wi-Fi card from the holiday flat lying on the table. These are photos of a good moment, and sharing them feels natural.

The problem is not the photo: it is the little square in the corner. A QR code, or the barcode on a ticket, can hold a booking reference, a name, a way in. And anyone looking at the photo on their own screen can read it just as the turnstile at the entrance would.

This post organises the countermeasures into four moments: prevent the problem by covering things properly before you post, detect what slips past a first glance, respond if the photo is already online, and recover a calm, stable situation. It is the practical, hands-on side of the recommendation on posting photos with QR codes: covering a code takes a minute, and that minute is worth more than any fix afterwards.

Before you start: what to cover, in priority order

Not everything that appears in a photo carries the same weight. Before you open the editor, it helps to know what you are looking for.

The order that works in almost every case is this one:

  1. QR codes and barcodes — tickets, boarding passes, event passes, membership cards, parcel collection receipts, Wi-Fi cards: these are the part a machine reads in an instant;
  2. booking references and confirmation codes — the string of letters and numbers that identifies a trip or an order, often printed in plain text next to the code;
  3. first names and surnames — together with a booking reference, they are often enough to get into the management page of a trip;
  4. addresses and contact details — your home address on a parcel, the address of your accommodation on a confirmation, a phone number;
  5. dates, times, seat numbers and card numbers — on their own they say little, but they complete the picture;
  6. everything else you can read by zooming in: documents, switched-on screens, labels.

If you have thirty seconds, spend them on the first two points.

1. Prevention: covering things properly before you post

Take the photo again, without the code

What to do. The simplest solution is also the safest one: take the photo again, framing only what you actually want to show. The boarding pass turned over, your thumb over the code, the stage without the ticket in the foreground. A photo without a code does not need correcting.

Crop out the part with the code

What to do. If the photo has already been taken, use the crop tool in your phone’s photo editor and leave out the code and the details next to it. After a fresh photo, this is the most reliable method: whatever falls outside the crop is not shared.

Don’t forget. Many editors let you undo your changes even later on, because they keep the original on your phone. When you share, though, it is the edited version that goes out. If in doubt, open the photo on the social network after posting it and check that the code is not there.

Cover it with a solid box

What to do. When cropping would remove too much, draw a solid, opaque rectangle over the code, in a single flat colour, covering all of it with a little margin to spare. Almost every phone photo editor, and the story editors built into social networks, has a brush or a shape you can fill in. Cover the booking reference and the name in the same way.

Why it counts. A solid box replaces the information instead of hiding it: there is nothing left underneath to reconstruct.

Why a light blur or large pixels may not be enough

A QR code is designed to be read even when it is damaged. It contains a redundant part called error correction: repeated information that lets the reader rebuild the content even if a piece of the pattern is missing or dirty. The mechanism is explained in the post on how QR codes work.

This has three practical consequences:

  • a light blur often leaves enough contrast between the light and dark squares for a reader to make sense of it anyway;
  • pixelation — the mosaic effect that turns the image into blocks of colour — can leave the pattern almost intact if the blocks are roughly the same size as the code’s own squares;
  • partial covering, which hides only a corner or a strip, may not be enough precisely because of error correction.

On top of this comes a detail that is easy to forget: the numbers printed next to the code stay readable even when the code itself is blurred. And an effect applied as a separate layer can, in some tools, be removed.

That is why the rule is simple: crop or solid box, not effects.

Check the background, reflections and details

What to do. Before posting, zoom in and look across the whole photo: reflections in glasses and shop windows, a phone screen on the table, the sheet of paper on the fridge behind you. A code in the background, if it is in focus, can be read just like one in the foreground.

Keep the photo separate from your location

What to do. A covered code is not enough if the photo still reveals where you are or where you live. The location saved inside the file is a topic of its own, covered in the recommendation on turning off photo geotagging.

Cyber Security for All: Online Privacy, VPN

On the page that opens, choose:

Subscription · not needed
Option to choose: Single course · coupon terms
  • The best available terms
  • Valid until 22 December, for a limited number of enrolments
  • Lifetime access to the content, updates included

2. Detection: noticing what slipped through

Look at the photo as a stranger would

What to do. Before you tap “post”, ask yourself: if I did not know this person, what could I work out from this picture? A name, a flight, an address? Five seconds is all it takes.

Check stories, videos and photo sequences

What to do. In a video the code may appear for only a moment, and pausing is enough to read it. In a sequence of several photos, the code you covered in the first one may be uncovered in the third. Stories stay visible for only a few hours, but in the meantime anyone who sees them can save them or take a picture of the screen.

Look through the photos you have already posted

What to do. Scroll back through your profile and look for photos of trips, concerts, matches and parcels that have just arrived: these are the occasions when a code most often ends up in the frame. Look at the photos you sent to group chats too, since they can be forwarded from there.

Bear in mind who sees them

What to do. Who can read a code depends on who sees your photos. Why it matters to choose carefully the people you let into your profile is explained in the recommendation on connecting only with people you know.

The signs that someone may already have used a code you posted — a change-confirmation email you did not ask for, a seat that has been moved, being turned away at the entrance — are gathered in the post on the signs someone used your QR code.

3. Response: if the photo is already online

Here too the order matters: first take the photo down, then secure whatever the code gave access to.

Remove or archive the photo

What to do. Delete the post or story, or archive it so that it is no longer visible. If you want to keep the memory, post it again cropped or covered. Remember the copies: the same photo sent to a group chat should be removed there too, or flagged to the people who received it.

Why it counts. Removing the photo does not delete copies that others have already saved, but it stops new ones from being made.

Contact the airline or the organiser

What to do. If the code gave access to a trip, an event or a service, contact whoever issued it through the official channels: the website or app you already know, or the number shown on the confirmation. Explain that the code has been posted online and ask whether the ticket can be reissued, the booking reference changed, or an extra check added.

A word of caution. Do not use numbers or links found in comments or in messages you receive after posting. Anyone who has seen the photo knows which company to impersonate.

Change your Wi-Fi password

What to do. If the photo showed the QR code for your home Wi-Fi — the card that lets guests connect with a single scan — change the network password from your router’s settings. The code you posted contains the password in plain text, and changing it makes the code useless. Where to start with your router is explained in the resource on home network security.

Ask for cards and passes to be replaced

What to do. Gym membership card, work badge, season ticket, parcel collection code: if the code could be used more than once, ask whoever issued it to deactivate and replace it. For single-use codes that have already been used, the risk has usually ended with that use.

4. Recovery: getting back to a calm situation

Check your booking through the official route

What to check. Go into the management page for the trip or order from the official website or app, not from links you have received. Look at your seat, baggage and contact details. If you find changes you did not make, report them straight away. What can actually happen is described in the post on the consequences of posting a boarding pass.

Be wary of messages that know about your trip

What to do. In the days that follow, treat with caution any email, message or phone call that mentions your flight, your name or your booking in order to ask you for details or payments. Knowing those details does not prove that the sender is the airline: they may have read them from the photo itself. How to spot these messages is explained in the resource on how to recognise phishing that is built to convince.

Build on the habit

What to do. Close the loop: a look back through your older photos, the crop-or-solid-box rule, and a fixed routine before every post with a ticket, a parcel or a document in the frame.

Cyber Security for All: Online Security, Passwords

On the page that opens, choose:

Subscription · not needed
Option to choose: Single course · coupon terms
  • The best available terms
  • Valid until 25 November, for a limited number of enrolments
  • Lifetime access to the content, updates included

A plan in three sessions

If the idea of “checking everything again” feels like too much, here is a version you can do in three sittings.

Session 1 — Your next photo (2 minutes)

  1. Before posting, zoom in and look for codes, numbers and names.
  2. If there is a code, take the photo again or crop it.
  3. If cropping is not enough, cover it with a solid, opaque box.
  4. After posting, open the photo again and check the version other people see.

With this one session alone, every new photo starts out right.

Session 2 — The photos you have already posted (20 minutes)

  1. Scroll through your profile looking for trips, events, parcels and holiday lets.
  2. Archive or replace the photos with readable codes.
  3. Check the group chats where you shared them.
  4. If a code is still valid, contact the airline or the organiser.

Session 3 — The recurring sources (20 minutes, once)

  1. If you keep a Wi-Fi card on display, consider moving it out of the spot that usually ends up in your photos.
  2. If you have posted your Wi-Fi code, change the network password.
  3. Identify the cards and passes you photograph often and decide how you will frame them from now on.

Within a week, a little at a time, the readable codes disappear from your profile without you giving up your photos.

Frequent mistakes when covering a code

Even people who decide to be careful often stumble at the same points.

  • Blurring instead of covering. A light blur or a mosaic with large blocks can leave the code readable: you need a solid box or a crop.
  • Covering the code but leaving the numbers. The booking reference printed next to it is worth as much as the code.
  • Covering only part of it. Error correction makes it possible to read a code even with a piece missing.
  • Assuming a story disappears. It stays online for hours, and in the meantime anyone can save it.
  • Removing the photo and stopping there. If the code is still valid, whoever issued it needs to know.

Practical checklist

Stage 1 — Before posting

  • ☐ QR codes and barcodes out of the frame or cropped out
  • ☐ Booking references, names and addresses covered with a solid box
  • ☐ No blur or pixelation used instead of covering

Stage 2 — Check

  • ☐ Background, reflections and screens zoomed in on and checked
  • ☐ Videos, stories and photo sequences reviewed frame by frame
  • ☐ Older photos on your profile and in group chats checked again

Stage 3 — If the photo is already online

  • ☐ Photo removed or archived, including copies you sent
  • ☐ Airline or organiser contacted through official channels
  • ☐ Wi-Fi password changed, if the code was the network’s

Stage 4 — Consolidate

  • ☐ Booking checked through the official route
  • ☐ Caution towards messages that mention your trip
  • ☐ A check before every photo with tickets, parcels or documents

Mini-scenario

Lucy posts a story from the airport: boarding pass in hand, coffee, the words “we’re off!”. An hour later a friend messages her: “you can read the code”.

Lucy does not panic. She takes the story down, then finds the same photo in the family group chat and asks everyone to delete it. She opens the airline’s official app, checks that her seat and contact details are correct, and, using the number on the confirmation, asks whether an extra check can be added to the booking. Finally she posts the photo again: same light, same coffee, with a solid box over the code and her name.

Ten minutes, in the right order. The memory stayed; the code did not.

How this connects to the Cyber Welfare Framework

PillarWhat this content contributes
SkillsKnowing how to cover a code in a way that genuinely works: crop or solid box, not effects
AwarenessUnderstanding why a blurred code can stay readable and what the details next to it reveal
Secure BehaviourTurning a check of the photo into a fixed routine before every post

Reference level: FL2 — Beginner. This is the level at which you know the main risks and regularly apply a few well-chosen habits, following clear guidance and without needing technical skills.

Conclusion

Hiding a QR code in a photo does not mean giving up on sharing. What you need is an order: look at what is there, crop it out or cover it with a solid box, and only then post. If the photo is already online, take it down and let whoever issued the code know.

What to do right now. Open your profile and find the most recent photo of a trip or an event. If a code is visible, archive it and post it again cropped. If this is all you do, you have already closed the most likely door.

To see where you stand, the digital resilience self-assessment gives you a reference point.

Related content

Related resources

Short pieces from the Resources section, for readers who want to focus on a single aspect:

Start with the first step: the Cyber Welfare Programme guides you free of charge, one recommendation at a time.