What's in a boarding pass barcode?
Boarding pass barcodes follow an airline industry standard, IATA's Bar Coded Boarding Pass (BCBP). On a phone it's a square code (Aztec, QR or Data Matrix); on paper it's often a wide, rectangular one called PDF417. The data isn't encrypted: any barcode scanner app reads it as a line of text.
Every boarding pass barcode carries the same core details for each flight:
| In the barcode | What it gives away |
|---|---|
| Your name, as SURNAME/FIRSTNAME | Half of what's needed to open the booking |
| Booking reference (PNR) | The other half |
| From and to airports | Where you're going, and roughly when you're not at home |
| Airline and flight number | Exactly which flight you're on |
| Date of the flight | Stored as the day of the year: 19 December 2026 is day 353 |
| Cabin and seat number | Where you're sitting |
| Check-in sequence number | The order you checked in, which the airline uses at boarding |
Depending on the airline, it can also hold your 13-digit ticket number, your frequent flyer number, a security screening flag used on US flights, and a field airlines use for their own purposes, such as frequent flyer tier. To see exactly what yours holds, run it through the boarding pass decoder.
Why a name and booking reference can open your booking
Most airline websites and apps let you manage a booking with just a surname and the booking reference. There's no separate password: the booking reference is the password. That's convenient at a check-in kiosk, and it's why a photo of the pass matters.
Depending on the airline, someone with both could:
- See the whole itinerary, including return flights and anyone else on the booking
- See some of your contact details, and sometimes more personal details than you'd expect
- Change seats or meals, or check you in
- Change or cancel flights, on airlines that allow it online
- Add or change the frequent flyer number on the booking, so the miles go elsewhere
- Write a convincing fake message about your trip, because they know exactly what you've booked
This isn't theoretical. Security researchers have shown more than once that a boarding pass photo posted online was enough to get into the booking behind it.
Is it safe to post a boarding pass after the flight?
Safer, not safe. Once you've flown, nobody can change that flight, but the same booking can still hold a return flight, onward flights and other passengers. A frequent flyer number in the barcode doesn't expire with the trip. And your name, route and dates are a useful head start for anyone writing a scam message.
What to blur or cover on a boarding pass before posting it
The simplest answer is not to post the pass at all. The view from the window says the same thing, and clouds don't have booking references. If you do post it, cover all of these:
- The whole barcode, on paper or on screen. Barcodes have built-in error correction, so a partly hidden one can still scan.
- Your name.
- The booking reference, often labelled booking ref, PNR, record locator or confirmation.
- The ticket number, often labelled ETKT or ticket.
- Your frequent flyer number and tier.
Use a solid block or crop the barcode out entirely. Blurring or pixelating can leave a barcode readable. Before you post, check the final image, not the edit in progress.
Other things that give away the same details
- Screenshots of the airline app, a wallet pass or the booking confirmation email
- Bag tags, which show your name and flight, and sometimes the booking reference
- Paper boarding passes left in seat pockets or airport bins: tear through the barcode and name first, or take them home and shred them
- Boarding passes forwarded to group chats: send each one only to the person who's travelling on it
What to do if you've already posted your boarding pass
- Delete the post, including stories and reposts you control. Assume someone may already have a copy, and carry on with the next steps anyway.
- Check the booking on the airline's website or app: flights, seats, contact details and frequent flyer number should all still be yours.
- If flights are still to come, contact the airline. Explain what happened and ask what they can do to protect the booking.
- Secure your frequent flyer account: change the password, turn on two-step sign-in if it's offered, and check recent activity for redemptions you didn't make.
- Be wary of messages about the trip. An email or call that knows your flight number isn't proof it's from the airline. Check through the airline's own app or published phone number.
For next time, the booking reference vs ticket number guide explains which numbers on your documents matter most.