Free tool

Boarding pass decoder: what your barcode says about you

Paste the text from a boarding pass barcode (or, in Chrome, pick a photo of it) and this shows every field inside: your name, the booking reference, each flight, the seat, the check-in sequence number and often the ticket number. It's decoded in your browser; nothing is uploaded.

Runs in your browser

Boarding passBarcode decoder

A barcode scanner app shows the text. It starts with M1 (one flight) or M2 (two).

Paste a boarding pass's barcode text, or try the example.

Decoded in this browser. The barcode never leaves your device, and isn't saved.

What's in a boarding pass barcode

Almost every airline prints the same kind of barcode, set by IATA's Bar Coded Boarding Pass standard (BCBP). On paper it's usually a PDF417 (the wide, stripy one); on phones it's often an Aztec or QR code. Inside is a line of text, in fixed positions:

  • Your name, as SURNAME/GIVEN NAMES, cut to 20 characters.
  • The booking reference (PNR) for each flight.
  • The flight: from and to airports, airline, flight number, and the date as a day of the year.
  • Cabin, seat and check-in sequence number.
  • Often, in an optional part: the e-ticket number, frequent flyer number, how you checked in, and screening flags.

Why it matters who sees it

The name and booking reference together are what most airline websites ask for to open a booking. Anyone who can read the barcode in a photo can often see the booking, change seats, add a frequent flyer number, or worse. That's why a boarding pass photo on social media is a gift to the wrong people, even with the printed reference covered up: the barcode still holds it. More in should you post your boarding pass.

Why the date is a number

The flight date is stored as the day of the year (001 is 1 January, 365 is 31 December), with no year. The decoder shows the nearest matching date. In a leap year, everything after 28 February is a day later.

How to read a barcode without uploading it

In Chrome on Android and on most computers, "Read a photo" reads the barcode from a photo or screenshot, on your device. Safari can't do that yet: use any barcode scanner app that shows the raw text, and paste it here. Avoid websites that ask you to upload the image.

Questions people ask

What information is in a boarding pass barcode?

Your name, booking reference, the flights (airports, airline, flight number, date), cabin, seat and check-in sequence number. Many also hold the e-ticket number, frequent flyer number and screening flags.

Can someone use my boarding pass barcode?

With your name and booking reference, which the barcode holds, many airline websites let anyone see and change the booking. Keep boarding passes off social media and shred paper ones.

Is this decoder safe to use?

Yes: it runs entirely in your browser. The text or photo never leaves your device, and nothing is saved.

Why does my barcode start with M1?

M is the format code, and 1 is the number of flights encoded. A connecting itinerary on one boarding pass can start with M2 or more.

Sources

Rules change. We check these pages against the sources above, but the official site always has the last word.