How to decode a boarding pass barcode
- Scan or paste. Upload a photo or screenshot of the boarding pass, paste an image with Ctrl/⌘+V, point your camera at it, or paste the raw BCBP text if you already have it.
- Read the summary. The passenger, route, flight, date, seat and booking reference are shown first.
- Inspect each field. Every field is listed with its character position, raw value and meaning. Hover a row to highlight its characters in the string.
- Export. Copy the decoded data as JSON for test fixtures or bug reports.
What's inside a BCBP barcode
A Bar Coded Boarding Pass string is plain text made of fixed-width fields, in this order:
- Mandatory unique (23 characters): format code
M, number of legs, passenger name and e-ticket indicator. - Mandatory repeated (37 characters per leg): PNR, from and to airports, carrier, flight number, Julian date, compartment, seat, check-in sequence, passenger status and the size of the leg's variable section.
- Conditional unique (first leg only): starts with
>and the version number, then passenger description, check-in source, issue date, document type, issuing airline and baggage tag numbers. - Conditional repeated (per leg): ticket number, selectee indicator, document verification, marketing carrier, frequent flyer number, free baggage allowance and fast track.
- Airline individual use: free-form data defined by each airline.
- Security data: starts with
^, followed by the signature type, length and the signature itself.
Conditional fields can be truncated: an airline may include only the first few, so the size fields tell the decoder where each section ends.
Frequently asked questions
What is a BCBP decoder?
A BCBP decoder reads the data string inside a boarding pass barcode and splits it into the fields defined by IATA Resolution 792: passenger name, booking reference (PNR), airports, airline, flight number, date, seat, check-in sequence, passenger status, and any conditional, airline-specific and security data.
Can I decode a boarding pass barcode from a photo or screenshot?
Yes. Upload, drag in or paste an image, or use your camera. The scanner reads Aztec, PDF417, QR Code and Data Matrix barcodes, which covers both printed and mobile boarding passes.
Is my boarding pass uploaded anywhere?
No. Barcode images and BCBP strings are decoded entirely in your browser. The only exception is the optional signature check, which sends the BCBP string to our server when you click it.
Why does the decoded date not include a year?
BCBP stores the flight date as a 3-digit day of the year (001–366) with no year. If the conditional section includes a boarding pass issue date, its last-digit year is used to infer the full date; otherwise the year is unknown.
What is the security data after the ^ character?
It is an optional digital signature added by the issuing airline so that it can detect altered boarding passes. Airline signing keys are not public, so this decoder can only verify signatures created by the bcbpgenerator.com test generator.
Is it safe to share a photo of my boarding pass?
Avoid it. The barcode contains your name and booking reference, which can be enough for someone to view or change your booking on the airline website. Decode real boarding passes privately and do not post them online.