A boarding pass barcode is a machine-readable version of your travel details, written to the IATA bar coded boarding pass standard. It typically holds your name, the airline booking reference, flight number and date, origin and destination, cabin, seat, check-in sequence number and status flags. It is encoded, not encrypted, so any scanner app can read it.
Updated July 2026 · HappyFares

That square of black speckles on your boarding pass is not a mystery code. It is a short line of ordinary text, arranged in a fixed order that every airline in the world agrees on.
What standard do boarding pass barcodes follow?
Almost every boarding pass issued today follows the IATA bar coded boarding pass specification, usually shortened to BCBP. It replaced the old magnetic stripe passes and gave airlines, airports and security agencies one common format, which is why a pass printed in Kochi scans correctly at a gate in Frankfurt.
The symbol type depends on how the pass was issued. Printed passes normally carry a PDF417 barcode, the wide rectangle of stacked lines. Mobile passes use a square symbol instead, typically Aztec, QR or Data Matrix, because those scan better off a phone screen with glare and low brightness. The data inside is identical whichever symbol is used.
What information is inside the barcode?
The standard defines a mandatory block of roughly 60 characters that every pass must carry, then a set of optional fields airlines can add after it. Nothing in there is secret, and the order is published so any system can parse it.
- Format code and the number of legs encoded on the pass
- Passenger name, surname first, in a fixed-width field
- An electronic ticket indicator
- The operating carrier booking reference, in other words your PNR
- Origin and destination airport codes, plus the operating airline code
- Flight number and the date of flight as a day-of-year number
- Compartment code for the cabin, and your seat number
- Check-in sequence number and passenger status
Optional fields commonly include the frequent flyer airline and membership number, the ticket number, free baggage allowance, a fast track indicator, and airline-specific data. Some carriers append a digital signature so the pass can be verified as genuine. The date field is worth a second look: it is stored as a day of the year with no year attached, so a pass for the 200th day of 2026 and one for the same day in 2027 carry exactly the same date value.

Why do gates and security scan it?
Each scan answers a different operational question, and the barcode is simply the fastest way to ask it. At the boarding gate, the scan confirms you are on the right flight, in the right cabin and holding a valid sequence number, and it updates the passenger count the crew works from.
That count feeds baggage reconciliation. If a passenger checks a bag and then does not board, the system flags it and the bag is offloaded, which is one of the reasons boarding closes earlier than people expect. At the terminal entry and the security check, staff at Indian airports verify the pass against your photo ID, and many airports still stamp it after screening. DigiYatra, the face-based entry system now live at a growing list of Indian airports, works by linking your face to the same booking and boarding pass data rather than replacing it.
Retail and lounge systems use the barcode too. Duty-free counters scan it to confirm your route and entitlement, and lounges scan it to check cabin and flight timing.
Is the data encrypted or protected?
No, and this surprises people. BCBP is an encoding standard, not a security standard. The characters sit in plain text inside the symbol, and free barcode reader apps on any phone will show them to you in a second. Try it on your own pass sometime and you will see your name and PNR appear as readable text.
The optional digital signature some airlines add does not change that. It proves the pass has not been tampered with, which helps the airline, but it does not hide anything from a reader. The protection model here has always been physical: the assumption is that only you and airport staff ever hold the document.
What can someone do with the data, and how do you protect it?
The sensitive combination is your surname and the booking reference, because most airlines open a manage booking session on exactly those two details. With them, a stranger can generally view your full itinerary, see or change seats, and on some carriers modify or cancel travel. A frequent flyer number in the optional fields adds a second target, since loyalty accounts hold points and personal data.
Sensible habits cost nothing:
- Do not photograph the pass for social media, including after the trip
- Prefer a mobile boarding pass, and delete it from your wallet once you land
- Take the paper stub with you rather than leaving it in the seat pocket or the bin
- Shred or tear up stubs and bag tag receipts at home
- Keep the frequent flyer account on a strong password with two-factor sign-in
Common Questions
Can anyone read my boarding pass barcode?
Yes. The format is a published standard and the contents are plain text, so an ordinary barcode scanner app can decode a clear photo of the symbol. No password or airline system is needed, which is exactly why a boarding pass photo should not go online.
Does the barcode contain my passport number or card details?
Generally no. The standard has no field for payment data, and passport details normally stay in the airline reservation system rather than in the symbol. What it does hold, your name, booking reference, flight and seat, is quite enough to matter.
Why does the barcode show a day number instead of a full date?
The date of flight is stored as a day-of-year value, so 1 February appears as 032. It keeps the mandatory block short and works fine operationally, since a pass is only used within days of issue. It also means the year is not encoded at all.
What is the check-in sequence number for?
It records the order in which passengers checked in for that flight. Airlines use it for boarding order on some carriers, for standby and upgrade lists, and as a reference if someone has to be offloaded. It also appears on the pass as a small number near the seat.
Is a mobile boarding pass safer than a printed one?
Usually yes, because there is no stub to drop, forget in a seat pocket or leave on a hotel desk. The barcode still holds the same information, so a screenshot shared in a group chat carries the same risk as a photo of paper.
Why does the duty-free shop scan my boarding pass?
To confirm your flight and destination, since entitlements and tax treatment differ between domestic and international travel. The shop reads the same fields the gate does. You can ask staff to key in the details manually if you would rather not hand over the pass.
Flying soon? Compare fares and cabin options across airlines on HappyFares, then check in early and keep your boarding pass on your phone.
Airport procedures and airline systems change: verify the current specifics with your airline, DGCA, or the airport before you travel.


