Testing how much data can be extracted from boarding pass barcodes
I recently watched Rainbolt’s latest video advising people not to post boarding passes online and not posting about flights live (which should be a norm anyway for safety reasons) and even showed how to get the data just from a barcode picture.
Here’s the video so you can watch it for yourself (it’s just under 9 minutes so it’s not too long):
Trying it out with my own old boarding pass
I normally don’t keep around boarding passes from my flights anymore as the recent flights I’ve had would just have the boarding pass itself on some flimsy paper that is similar to ones for receipts, and I haven’t really acted on the “keep boarding passes in a journal” task I’ve had in the back of my mind since the time I’d be flying more frequently than I did when I was a child, but after some scouring through my stuff, I eventually found an old boarding pass I could use as my way to verify how this works.
I took a photo of the old barcode I had from an international flight in 2025 from the US back home, cropped the photo so it only had the barcode visible, and sent it thru the same PDF417 scanner Rainbolt used in his video.
This was the result, with some info redacted just so I don’t have my full details laid out here:
M1SENIRES/CHI*** *****E###### SFOMNLPR 0105 137Y034B0129 3##>############ PR N
Immediately, I saw all the things he pointed out:
- The code to note it was a direct flight (
M1) - My full name based on what’s printed on the boarding pass (my first name is kinda long so it was cut off but it still had most of it there)
- An
Ebecause I have an electronic ticket issued - The booking reference number for my flight (6 characters total)
- The airport where I came from (so,
SFO) - The airport I’m going to (
MNL) - The flight number (
PR 0105, because I rode with Philippine Airlines then) - When I flew (
137which pertains to which day in the year I flew, and 137th day was May 17 which checks out) - My seat class (I’m guessing
Ymeans economY) - My seat number (
034Bwhich checks out) - My check in number (
0129so I guess I was the 129th person to check in?? 😆) - My passenger status (
3which when I searched online, I learned this meant passenger and baggage both checked in1) - Then I don’t know what the other stuff exactly meant, but just redacted it for safety
- Second to the last, could be just which airline I’m on (since it just says
PR) - Then last, whether I’m fast tracked or not (in this case, it’s
N, so No)
While verifying how to interpret the information from this barcode (as I particularly didn’t know what the stuff after the 10th item was initially) I also encountered this post from James Cridland also sharing why you should cover up your barcode.
A reminder to self and a reminder to all
Don’t share any information shown on your boarding pass online, ever.
I knew about this already before just to exercise caution, so whenever I’m flying, I’d clip my boarding pass in my passport as like a bookmark to the front page with my details so it’s easier when boarding. Sometimes it’s too long though, so I fold it in such a way that you’d only see it was a boarding pass, but the rest of the details are hidden within the closed passport.
Now with this newfound information of how easy it could be to just get your data from extracting the barcode2 from a photo, I’ll make sure to cover even the barcode and only show it to airline staff once needed.
Footnotes
-
I really wanted to know what the rest of the numbers meant after this point and I stumbled upon this online document listing all the details per segment. ↩
-
Not that I’d be the type to be targeted for things like this, but I’ll never really know what people online think, so best to err on the side of caution every time. ↩