What this BCBP generator does
This tool builds the Bar Coded Boarding Pass (BCBP) data string defined by IATA Resolution 792, the same format airlines encode in the 2D barcode on every boarding pass, and renders it as an Aztec, PDF417 or QR Code image. Enter a passenger name, booking reference, route, flight and seat, and you get a scannable boarding pass barcode plus the raw BCBP string and a field-by-field breakdown.
It is built for developers and QA teams working on check-in kiosks, gate readers, airport lounge access, mobile wallet passes, barcode SDKs and anything else that needs to parse boarding pass barcodes, without using real passenger data.
Already have a boarding pass barcode? Use the BCBP decoder to scan it and see each field, or read the BCBP format guide for the full field-by-field specification.
How to generate a boarding pass barcode
- Enter the passenger's last and first name. They are encoded as
LASTNAME/FIRSTNAME, padded to 20 characters. - Add a 6–7 character booking reference (PNR).
- Enter the 3-letter IATA airport codes, the 2-letter airline code, the flight number and the date.
- Choose the compartment code, seat, check-in sequence number and passenger status.
- Pick a barcode format (Aztec, PDF417 or QR Code) and click Generate Signed Barcode.
- Download the boarding pass image, or copy the BCBP string from the technical details panel.
BCBP mandatory fields
Every BCBP string starts with a 60-character mandatory section with fixed field positions:
| Field | Length | Example |
|---|---|---|
| Format code | 1 | M |
| Number of legs encoded | 1 | 1 |
| Passenger name | 20 | SMITH/JOHN |
| Electronic ticket indicator | 1 | E |
| Booking reference (PNR) | 7 | ABC123 |
| From city airport code | 3 | JFK |
| To city airport code | 3 | LAX |
| Operating carrier designator | 3 | AA |
| Flight number | 5 | 1234 |
| Date of flight (Julian) | 3 | 032 |
| Compartment code | 1 | Y |
| Seat number | 4 | 014A |
| Check-in sequence number | 5 | 0042 |
| Passenger status | 1 | 0 |
| Size of conditional section (hex) | 2 | 00 |
Frequently asked questions
What is BCBP?
BCBP (Bar Coded Boarding Pass) is the IATA standard, defined in Resolution 792, for the data encoded in the 2D barcode on a boarding pass. It specifies a fixed-length string containing the passenger name, booking reference (PNR), route, airline, flight number, date, seat and check-in sequence, plus optional conditional and security sections.
Which barcode format do boarding passes use: Aztec, PDF417 or QR?
Resolution 792 allows PDF417 for printed boarding passes and Aztec, QR Code or Data Matrix for mobile boarding passes. Many printed passes use PDF417, while mobile and wallet passes commonly use Aztec or QR. The encoded BCBP string is the same regardless of symbology, so this generator lets you choose any of the three.
How is the flight date encoded in a BCBP barcode?
The date of flight is stored as a 3-digit Julian date: the day of the year from 001 to 366. For example, 1 February is 032. The year is not included in the mandatory section.
Why does the seat number have a leading zero?
The seat field is always 4 characters: a 3-digit row followed by the seat letter. Seat 14A is encoded as 014A and seat 7C as 007C.
Will a generated boarding pass scan at the airport?
Generated barcodes are for software development and testing only, such as barcode readers, parsers, kiosks and boarding systems. They are signed with a self-issued developer key that is not registered with IATA and do not correspond to a real reservation, so they are not valid travel documents. We make no guarantees about how any third-party system will handle them. You are responsible for how you use this tool; using a generated boarding pass to access an airport, aircraft or lounge is prohibited and may be illegal. bcbpgenerator.com accepts no liability for any misuse.
What is the ^4 section at the end of the BCBP string?
It is the security data section. The caret (^) marks its start, followed by the security data type (4 here, meaning ECDSA P-256 with SHA-256), a 2-character hex length, and the base64-encoded signature over the data that precedes it.