Boarding Passes and Confirmation Numbers: A Travel Notes File That Works Offline
You're at the gate. The agent asks for your booking reference, and your phone shows a spinner. The fix is small: keep one plain-text file per trip with every confirmation number in it. A text file opens instantly and needs no connection to read, which is exactly what you want from travel confirmation notes.
Quick answer
Make one file per trip. Put a block at the top for each booking: airline or hotel, the confirmation code, the name exactly as booked, and the date. A confirmation number is usually a record locator, and record locators are typically six alphanumeric characters, though some reservation systems use seven or eight. The same page notes that look-alike characters (1, I and L, or 0 and o) aren't always used, so copy codes by pasting rather than retyping them.
This file covers codes and boarding details. For the day-by-day plan, see the single plain-text itinerary file.
Step-by-step
1. Name and place the file
Date first, place second: 2026-12-lisbon.md. Dates sort in order, so upcoming trips line up in your file list. Store the file on the device itself, not behind a link you open in a browser.
2. Build the template
Markdown is enough. The CommonMark quick reference shows everything you need: ## for headings, - for list items, and **bold** for the codes you will hunt for. Here is a starting block:
# Lisbon, Dec 18-26
## Flights
**Airline:** TAP
**Confirmation:** ABC123
**Name as booked:** SMITH/JORDAN
**Outbound:** TP 000, Dec 18, 7:40 pm
**Ticket number:** (from the e-ticket email)
**Seat:** 24C
## Hotel
**Confirmation:**
**Address:**
**Check-in:** after 3 pm
## Ground transport
**Rental / transfer ref:** Every value above is a placeholder, so swap in your own. The first line is just a label for you, and the empty fields are a to-do list: anything still blank a week before you leave is something to chase. Keep the order the same from trip to trip, so your eyes learn where the codes sit and you can find one in seconds at a counter.
3. Copy codes carefully
Paste from the confirmation email or the airline app instead of typing. Write the airline or company next to each code. The same source explains that locators are unique only within one reservation system at a time, and can be reused once old records are purged, so a bare code without a company name can mislead you later.
If several people travel on one booking, they share a single locator. Write it once and list the names under it.
4. Add a fallback lookup
Codes fail. A locator may not carry over between systems, and the record locator page notes that in that case the reservation can still be retrieved using the flight number and date plus a name, or the ticket number. Put the flight number, date and ticket number in the file, so you have a second way in.
5. Link the rest of your prep
If the same trip needs a Markdown packing list, keep it in a separate file and mention it on the first line of the trip file. Short files stay quick to open, and a file with only codes in it is the one you will actually reach for when you are standing in a queue.
Common problems and fixes
"My boarding pass is in Wallet, so I'm covered." Maybe. Apple's page on boarding passes in Apple Wallet explains how to add one: open the app or email that has the pass and tap Add to Apple Wallet. It also says to contact your airline if the option does not appear, since not every airline supports Wallet passes. The page does not say whether a pass can be shown with no connection, so there's no promise to lean on. A text copy of the code and flight details costs nothing and works as a backup.
"I'll just paste my boarding pass barcode." Don't. According to Wikipedia's entry on the boarding pass, some barcodes can be scanned to reveal names, dates of birth, airports and the locator, and the locator plus a surname can be used to log in to an airline's website. Keep the code and the flight details, and leave out passport numbers, payment cards and photos of documents. Keep the file on your own device.
"The booking changed." Update the block, but don't delete the old code right away. Move it under a line that says Old: until the trip is over, so you can recognise it in an email.
"I have receipts to track as well." Travel purchases can use the same habit; a plain-text tracker works for deadlines.
Doing this with Carets
Carets is one of the best fits for this habit. It is a native notes and code editor for iPhone, iPad and Mac that handles Markdown and plain text, so the trip file above is just a file you open and edit. Files are organized into projects and tags, so you can tag each trip file travel and find the upcoming one quickly. Because the notes stay plain text, you can read them in any other editor, and nothing is locked into a format.
Download Carets from the App Store for iPhone, iPad and Mac.
Frequently Asked Questions
What is the difference between a confirmation number and a ticket number?
A confirmation number, usually a record locator, finds the booking. A ticket number identifies an issued ticket. Keep both in the file. If the locator fails, the flight number, date and name can retrieve the reservation.
Do I still need the file if I use Apple Wallet?
Apple's page covers adding a boarding pass but does not mention offline use. A text copy of the code and flight details is a cheap backup if the pass will not load.
Is it safe to keep confirmation numbers in a text file?
A locator plus a surname can open a booking on some airline sites, so treat the file as private. Keep it on your device, and leave out passport and payment details.