Boarding Passes and Travel Codes: What They Contain
The barcodes on travel documents, which formats they use, and why you should be careful about sharing photos of them.
Airline boarding passes, train tickets and event entries are all covered in barcodes. They hold real information about a trip.
Common formats
- Aztec codes are common on train and event tickets.
- PDF417 is used on many paper and phone boarding passes.
- QR codes are used by some airlines and rail operators.
- Which format is used depends on the company and the country.
What they can hold
Airline boarding passes generally follow a shared industry format. The code can include:
- the passenger's name
- the flight number and date
- the departure and arrival airports
- the seat number
- a booking reference
Why you should take care
Because the code holds a booking reference and personal details, treat it as sensitive:
- Do not post photos of boarding passes on social media.
- Dispose of printed passes carefully, for example by tearing them up.
- Be careful sharing screenshots.
Using your own code
- Turn up your screen brightness at the gate.
- Clean the screen.
- Save the pass where you can open it without a connection.
- Keep a backup, such as an email or a printout.
What a scanner shows
A general scanner may show the raw text from a boarding pass. It looks like a long string of characters and codes. That is normal.
Tips
- Treat travel codes as private.
- Brightness up.
- Keep an offline copy.
QR Code Scanner needs no account, and shows a code's contents before you act on them.
Scan and create QR codes and barcodes with QR Code Scanner →
QR Code Scanner
Fast QR & barcode scanner with a built-in QR code generator
More about QR Code Scanner
Barcode Scanning for Allergen and Ingredient Checks
How barcode and QR scans can help people with allergies and dietary needs find ingredient information — and why the printed label still matters.
Read article →Barcodes on Medicines: What They Contain
What barcodes and 2D codes on medicine packs are used for — identification, batch tracking and authenticity — and what scanning them can tell you.
Read article →QR Codes at Restaurants: Ordering, Menus and Paying Safely
How restaurant QR codes for menus, ordering and payment work, and simple checks to make sure you're scanning the restaurant's real code.
Read article →QR Codes in Emails and PDFs: Phishing Risks
Attackers increasingly hide phishing links inside QR codes in emails and documents. Learn how 'quishing' works and how to protect yourself.
Read article →