YourCheck-In Download on the App Store
Boarding pass guide

What's in your boarding pass barcode? Every field explained

The barcode on your boarding pass isn't a random pattern or a secret code. It's a short line of plain text in a format every airline shares. Here's what each character means.

The short answer: a boarding pass barcode follows the IATA Bar Coded Boarding Pass (BCBP) standard. It always contains your name, booking reference, flight, date, seat and check-in sequence number. Most passes also carry your ticket number, frequent flyer number, baggage allowance and security flags. The data is not encrypted: any barcode reader can display it.

A decoded example

This is the complete content of the barcode on a typical boarding pass: a fictional passenger, Alex Morgan, flying Lufthansa from Munich to Tokyo Haneda in business class. Spaces are shown as dots, because they matter: every field has a fixed width and is padded with spaces.

Barcode content119 characters · BCBP version 6
M1MORGAN/ALEX·MR······EK7Q2PX·MUCHNDLH·0714·281C004K0042·13B>60B1MM6274BLH·2A220200033259800LH·LH·992004418820613··2PCY

Want to decode your own? Paste its barcode text into our free online boarding pass decoder.

Read from left to right, it says: M (standard format), 1 flight, passenger MORGAN/ALEX MR, E-ticket, booking reference K7Q2PX, from MUC to HND on LH 0714, day 281 of the year, booking class C, seat 004K, check-in number 0042, status 1 (checked in). After the size marker 3B come the optional fields: the version, how and when the pass was issued, the ticket number 220-2000332598, frequent flyer number 992004418820613, 2PC baggage allowance and fast track Y.

The BCBP format

Airlines use one shared standard for boarding pass barcodes, published by the International Air Transport Association (IATA) as Resolution 792. IATA member airlines have had to use bar coded boarding passes since the end of 2010. It's why a boarding pass from one airline can be scanned at a gate or security checkpoint run by another.

The standard defines the data, not the look of the barcode. The same text can be printed in different symbologies:

Inside the barcode, the data has up to four parts:

  1. Mandatory fields (60 characters for a single flight): who you are and which flight you're on.
  2. Optional (conditional) fields: how the pass was issued, ticket number, loyalty number, bags. Their length is announced by a hexadecimal size field, so readers can skip what they don't understand.
  3. Airline private data: free-form text that each airline can use for its own purposes.
  4. Security data: an optional digital signature, introduced with ^.

A single barcode can hold up to four flights, for example on a connecting itinerary. The flight-specific fields then repeat for every leg.

Mandatory fields

These fields appear on every IATA boarding pass, always in this order and at these positions (for the first flight).

FieldPositionExampleWhat it means
Format code1MAlways M on modern passes. A legacy single-leg format used S.
Number of legs21How many flights are encoded, from 1 to 4.
Passenger name3–22MORGAN/ALEX MRSurname, slash, given names and often a title, as on the ticket. Longer names are cut off after 20 characters.
Electronic ticket23EE means the pass was issued against an e-ticket.
Booking reference (PNR)24–30K7Q2PXThe record locator of your reservation, usually six letters and digits.
From31–33MUCThree-letter IATA code of the departure airport.
To34–36HNDThree-letter IATA code of the arrival airport.
Operating carrier37–39LHThe airline actually flying the aircraft.
Flight number40–440714Four digits, zero-padded, plus an optional suffix letter.
Date of flight45–47281Day of the year, without the year. More below.
Compartment code48CThe booking class letter, which hints at the cabin. See the table.
Seat49–52004KRow (zero-padded) and seat letter. Can be blank if no seat is assigned yet.
Check-in sequence53–570042The order in which you checked in: here, the 42nd passenger.
Passenger status581Where you are in the process, e.g. checked in. See the table.
Size of optional data59–603BLength of the optional section that follows, in hexadecimal: 3B = 59 characters.

Optional fields

The optional section starts with a > and the version number of the standard. Some fields describe the whole pass and appear once; others belong to a single flight and repeat for each leg. Airlines may leave out any of them, so not every pass has all of these.

Fields that apply to the whole pass

FieldCharsExampleWhat it means
Version marker1>Start of the optional section.
Version number16Revision of the BCBP standard. Newer revisions added fields, so readers check this first.
Size of unique data20BHexadecimal length of the fields in this table: 0B = 11.
Passenger description11Passenger type, such as adult, male, female, child or infant. See the table.
Check-in source1MWhere you checked in: web, kiosk, mobile, airport agent. See the table.
Pass issued via1MWhere the boarding pass itself was produced, using the same codes.
Date of issue46274Last digit of the year plus day of the year: 6274 = October 1, 2026.
Document type1BB for boarding pass, I for itinerary receipt.
Pass issuer3LHThe airline that issued the boarding pass.
Baggage tag numbers13 each0220123456002Up to three bag tag "license plates": tag type, airline code, six-digit serial and how many consecutive tags follow. Often missing, since bags are usually checked after the pass is issued.

Fields repeated for each flight

FieldCharsExampleWhat it means
Size of repeated data22AHexadecimal length of this flight's fields: 2A = 42.
Airline numeric code3220The airline's three-digit accounting code (220 is Lufthansa). It's the first part of your ticket number.
Document serial number102000332598The other ten digits of your 13-digit e-ticket number: 220-2000332598.
Selectee indicator10US security flag: 1 means selected for extra screening ("SSSS"), 0 means not.
Document verification10Whether your passport or visa still needs checking: 0 not required, 1 required, 2 done.
Marketing carrier3LHThe airline that sold the flight. On a codeshare it differs from the operating carrier.
Frequent flyer airline3LHThe loyalty program your number belongs to.
Frequent flyer number16992004418820613Your loyalty program membership number.
ID/AD indicator1 Marks airline staff and industry discount tickets. Blank for regular fares.
Free baggage allowance32PCChecked bags included: 2PC = 2 pieces, 23K = 23 kg, 50L = 50 lb.
Fast track1YY if you may use the fast track security lane, N if not.

How the date works

The flight date takes only three characters because it's stored as the day of the year (sometimes called a Julian date): 001 is January 1, 032 is February 1, and 365 is December 31, or December 30 in a leap year.

The year isn't stored at all. Gate systems don't need it, because a boarding pass is only valid around the day of the flight. The date of issue adds one digit of the year (6 for 2026), which is enough for an app to work out the full date.

Code tables

Several fields hold a single code letter or digit. These are the values defined by the standard. For the abbreviations printed on a pass, such as SSSS, SEQ or ZONE, see boarding pass codes explained.

Passenger status

CodeMeaning
0Ticketed, not checked in
1Checked in
2Bags checked, passenger not checked in
3Bags checked, passenger checked in
4Passed security
5Passed the boarding gate
6Transit
7Standby
8Boarding data revalidated
9Original boarding line used at ticketing
AUp- or downgrade required at close out

Passenger description

CodeMeaning
0Adult
1Male
2Female
3Child
4Infant
5No passenger (seat booked for cabin baggage)
6Adult travelling with an infant
7Unaccompanied minor

Check-in source and pass issued via

CodeMeaning
WWeb
MMobile device (airline app or mobile site)
KAirport kiosk
XTransfer kiosk (pass issued via only)
RRemote or off-site kiosk
OAirport agent
TTown agent (e.g. a city ticket office)
VThird-party vendor

Compartment code (booking class)

The compartment code is the fare class letter of your booking. Each airline assigns these letters itself, so treat this as the common convention, not a rule.

LettersUsually means
F P AFirst class (A often discounted)
J C D I ZBusiness class (D, I, Z often discounted)
WPremium economy
Y SFull-fare economy
B M H K L Q T V …Discounted economy

Airline data and digital signature

After the standard fields, airlines may add private data in any format they like. It's often used for internal flags such as priority boarding, lounge access, status tier or security programs, but the meaning is not published and differs from airline to airline.

At the very end there can be a security section, starting with ^: a type code, a length and a cryptographic signature. It lets airlines and airports check that the pass wasn't edited or forged. It doesn't hide anything: the data before it stays readable.

What your barcode gives away

Think twice before posting your boarding pass.

Blurring your name on a photo doesn't help if the barcode is visible. Anyone who scans it gets your full name, booking reference and often your frequent flyer and ticket numbers.

On many airline websites, the booking reference and surname are all it takes to open a booking, see your contact details, change seats or cancel the flight. Throw away paper passes carefully, and remove old passes from Apple Wallet once you've landed. More on posting your boarding pass safely.

What the standard does not include: your passport number, date of birth, address, phone number or payment details. Airline private data could in principle contain more, which is a good reason to check your own pass.

How to read your own boarding pass

Any barcode scanner app shows the raw text, but you'll then have to count characters by hand, or paste it into our online decoder. YourCheck-In does it all in one step: point your iPhone's camera at a boarding pass, or import it from Apple Wallet, a screenshot or a PDF, and it explains every field in plain language, including airline and airport names, the full flight date and your route on a map. It works offline and the data never leaves your phone.

FAQ

Is the barcode on a boarding pass encrypted?

No. The data is plain text that any barcode reader can display. Some airlines add a digital signature so they can detect forged passes, but the signature does not hide the content.

Does a boarding pass barcode contain my passport number?

Not as part of the standard. The IATA format has no field for passport, date of birth, address or phone number. Airlines can add their own free-form data at the end, so it is worth checking what your own pass contains.

What does SSSS mean on a boarding pass?

SSSS stands for Secondary Security Screening Selection, used on flights to or within the United States. In the barcode it is the selectee indicator: 1 means the passenger is selected for additional screening, 0 means not selected.

Why does the date look like a three-digit number?

The flight date is stored as the day of the year, from 001 for January 1 to 366. 281 is October 8 in a non-leap year. The year is not encoded; the date of issue only carries its last digit.

What is the sequence number on a boarding pass?

The check-in sequence number shows in which order you checked in for the flight. 0042 means you were the 42nd passenger to check in. Airlines use it to reconcile passengers and bags.

Is it safe to post a photo of my boarding pass?

Better not. The barcode holds your full name and booking reference, and often your frequent flyer number. On many airline websites the booking reference and surname are enough to view or change a booking.

YourCheck-In app icon

See what's on your pass

YourCheck-In decodes any boarding pass in a second. Free, no ads, no account, and nothing leaves your iPhone.

Download on the App Store