If your library's app or website has an Add to Apple Wallet button, use that. If it doesn't, iOS 27 lets you make a pass in Wallet (Add Card → Create a Pass), or an app like Kardin can scan the card's barcode into a store-card pass. Either way, try it at the desk once before you leave the plastic card at home.
A library card is a small thing that's easy to leave behind. This guide shows you how to add a library card to Apple Wallet on your iPhone, so it's there when you're at the desk or the self-checkout machine. It starts with the official route (a pass from your library), then covers Wallet's own Create a Pass in iOS 27, then making a pass from the card yourself. It also covers the parts that can catch you out: barcode formats, scanners that struggle with phone screens, and what should never go on a pass.
Before you start: look at your card
Spend a minute on the physical card first, because it decides which method will work.
- Where's the barcode? Many library cards have the barcode on the back and the library's name and artwork on the front. You'll want both sides if you make a pass yourself.
- What kind of barcode is it? Most library cards use a 1D barcode (a row of lines), often an older format such as Codabar or Code 39, not a QR code. This matters because of what Wallet can show (more on that below).
- Is there a printed number? It's usually under the barcode. Staff can type it in if a scan fails.
- What's your PIN for? Many libraries pair the card number with a PIN or password to sign in online. You don't need that PIN to make a pass, and it should never go on one.
The official way: your library's own Wallet pass
Some library systems offer a digital card that adds straight to Apple Wallet. Apple's advice is to look for an "Add to Apple Wallet" button in an app, email, message or web page. If your library has one, use it. The pass comes from the library, so it should carry exactly what their scanners expect.
- Open your library's app, or sign in to your account on the library's website in Safari.
- Look for a digital card, a "my card" page, or an Add to Apple Wallet button. It's sometimes in the account or profile section.
- Tap Add to Apple Wallet.
- Check the preview and tap Add.
- Open the Wallet app to make sure the card is there.
If you can't find a button, Apple suggests contacting whoever issued the card to ask whether they support Wallet passes. A quick question at the desk or a look at the library's help pages will tell you. Plenty of libraries don't offer one, and that's where the other methods come in.
Add a library card to Apple Wallet with Create a Pass (iOS 27)
From iOS 27, Wallet can make passes itself. Apple describes it as useful for "membership and loyalty cards that have a barcode or QR code but no digital pass, like a library card or gym membership". There are two ways in.
Create a pass manually
- Open the Wallet app.
- Tap Add Card, then Create a Pass, then Create Pass Manually.
- Choose a template. Apple offers standard, membership and event templates. For a library card, membership is the natural choice.
- Fill in the details the template asks for, then add the pass.
You can change certain fields after adding the pass, and change its look: in Wallet, tap the pass, then the More button, then Edit Pass to change the background and colour, add or remove fields, or edit details.
Apple's support article and its iPhone User Guide present the device requirements differently. It isn't clear whether manual creation needs an iPhone that supports Apple Intelligence. If you're on iOS 27 and the option appears, you can use it.
Create a pass from a photo or screenshot
This method needs an iPhone 15 Pro or later that supports Apple Intelligence, the latest iOS, and visual intelligence turned on. Apple notes that Apple Intelligence isn't available in all languages or regions.
- Take a clear, flat photo of the side of your card with the barcode. You can use the Camera app, or take a screenshot if the card is on another screen.
- Open the photo in the Photos app, then tap the Info button or swipe up.
- If the barcode is detected, an Add Pass to Wallet button appears. Tap it and follow the steps.
- After a screenshot of a code, the same button appears.
Apple doesn't document which barcode formats this method can detect. If the button doesn't appear for your library card, try a sharper photo with even light. If it still doesn't appear, try another method.
When there's no official pass: the honest limits
Any pass you make yourself, with Wallet or with an app, holds a copy of the card's barcode. It isn't something the library issued, so keep these limits in mind.
- Barcode format. Up to iOS 26, Wallet passes can only show QR, PDF417, Aztec and Code 128. From iOS 27, Wallet adds Code 39, Codabar, EAN-13 and ITF. A Codabar or Code 39 library card can't be shown in its original format on an older iOS version, so apps may re-encode the number in another format. Many scanners accept that, but not all. The background is in Apple Wallet barcode formats.
- Scanners and screens. Some older barcode scanners struggle to read a phone screen at all, whatever format the barcode is in. Self-checkout machines vary from branch to branch.
- Library rules. Some libraries ask for the physical card or photo ID for certain things, such as using computers or borrowing special items. A Wallet pass doesn't change those rules.
- No updates. If your card is replaced or the number changes, a pass you made won't know.
None of this is a reason not to try. It's a reason to test the pass once while you still have the card on you.
Making a pass yourself with Kardin
Kardin is an iPhone app (iOS 16.4 or later, coming soon to the App Store) that turns a card's barcode into an Apple Wallet pass. It's worth a look if your iPhone doesn't support Apple Intelligence, if you're not on iOS 27 yet, or if you'd like the details read and filled in for you. It doesn't need an account.
- Open Kardin and choose Scan. Point the camera at the barcode on your library card. Kardin locks on to the barcode and takes a photo at the same moment, which it uses for the pass's colours and text.
- If the barcode is on the back and the library's name is on the front, tap Add the other side on the review screen and scan or photograph the front. It only fills fields that are still empty and never overwrites what's there. The colours come from the side without the barcode, so the pass looks like your card.
- Check the kind of pass. Kardin picks it from the text. For a library card it should be card, which uses Wallet's store-card style. Change it if it guessed wrong.
- Check the fields: the card's name (your library), the member's name and the member number. Text is read on the iPhone with Apple's on-device text recognition, and small or worn print can be misread. Fix anything that's wrong.
- Check the live preview, then tap to add the pass. Apple's own Add to Apple Wallet screen appears. Confirm it in Wallet.
Some things to know:
- Barcode format. Kardin decodes the barcode with the iPhone's built-in barcode reading and never guesses it. QR, PDF417, Aztec and Code 128 stay in their original format. Other 1D formats common on library cards, such as Code 39 or Codabar, are currently re-encoded as Code 128 with the same number. Kardin doesn't use Wallet's newer iOS 27 formats yet. Most scanners read Code 128, but some only accept the original format, so test it at your library.
- No barcode, no invented barcode. If your card only has a printed number, Kardin puts it in the pass's Number field and doesn't make up a barcode.
- Privacy. The photo of your card is read on your iPhone and isn't uploaded. To create the pass, only its content is sent to Kardin's server to be signed: the field labels and values, the barcode value and format, and the colours. The server sends the signed pass straight back and doesn't store it. Apple requires every Wallet pass to be signed, and that signing key has to live on a server. The details are on the security page.
- Connection. Making the pass needs an internet connection. Once it's in Wallet, it opens offline.
- Corrections. A pass can't be edited once it's in Wallet. If something's wrong, tap the pass in Kardin and choose Edit as new pass to make a corrected copy, then delete the old one.
The same steps work for other barcode cards. See how to add a barcode to Apple Wallet for the general version.
Which method should you use?
| Library's own pass | Wallet: Create Pass Manually (iOS 27) | Wallet: from a photo (iOS 27) | Kardin | |
|---|---|---|---|---|
| Needs | Your library to offer it | iOS 27 | iOS 27, iPhone 15 Pro or later, Apple Intelligence | iOS 16.4 or later, internet to create |
| Reads the card for you | Not needed | No, you fill in a template | Yes, detects the barcode | Yes, reads barcode and text on the iPhone |
| Barcode format | Whatever the library chose | Not documented by Apple | Formats not documented by Apple | QR, PDF417, Aztec, Code 128 kept; other 1D re-encoded as Code 128 |
| Edit after adding | Depends on the library | Yes, in Wallet | Yes, in Wallet | No, make a corrected copy |
| Updates by itself | Possibly, if the library supports it | No | No | No |
| Best for | Anyone whose library offers it | Simple cards on iOS 27 | Newer iPhones on iOS 27 | Older iPhones, two-sided cards, auto-filled details |
Mistakes to avoid
- Putting your PIN or password on the pass. Wallet passes can be viewed without Face ID, and they sync through iCloud. Keep the PIN in a password manager, not in a notes field on a pass.
- Not testing before you rely on it. Scan it once at the desk or self-checkout while you still have the plastic card. If it doesn't read, the card is there as backup. If you get stuck, my barcode won't scan on my phone has things to try.
- Throwing the card away. Keep the physical card at home, or in a drawer at least. You'll need it to make a new pass, and some libraries ask to see it.
- Scanning a worn or crumpled card. A faded barcode or a reflection in the photo can lead to a misread. Lay the card flat in even light, and compare the number on the review screen with the printed one.
- Keeping an old pass after a replacement. If the library gives you a new card, make a new pass and delete the old one, so you don't pull up a dead barcode at the desk.
- Turning the screen brightness down. A dim screen is harder to scan. Turn the brightness up if the scanner hesitates.
The short version
- Look for an Add to Apple Wallet button in your library's app or account first. It's the most reliable option.
- On iOS 27, use Wallet → Add Card → Create a Pass: manually with the membership template, or from a photo on an iPhone 15 Pro or later with Apple Intelligence.
- Otherwise, an app like Kardin can scan both sides of the card and build a store-card pass. Check the fields on the review screen before you add it.
- Library barcodes are often Codabar or Code 39, so test any pass you make yourself at the desk before you leave the card at home.
- Never put your library PIN, or any password, on a Wallet pass.
Put your tickets and cards in Apple Wallet
Kardin turns PDFs, photos and scanned cards into real Wallet passes. Your files stay on your iPhone, and there's no account.
Frequently asked questions
Will my library card show up on my Apple Watch too?
Yes, if you have a paired Apple Watch. Apple says a pass you add to Wallet on your iPhone is added to Wallet on the watch automatically. Whether the library's scanner can read the watch's small screen is a separate question, so test it at the desk first.
What happens to the Wallet pass when my library card is renewed or replaced?
A pass you make yourself doesn't update. If the library gives you a new card with a new number or barcode, the old pass stops working at the desk. Make a new pass from the new card and delete the old one. A pass made with Wallet's Create a Pass on iOS 27 can have some fields edited in Wallet.
Can I add my children's library cards to my Apple Wallet?
You can add more than one card. Each card gets its own pass, so you can keep a family's cards on one iPhone. Name each pass clearly, for example with the cardholder's name, so you pick the right one at the desk. Check your library's rules on who can use a card.
My library card only has a number and no barcode. Can I still add it?
You can keep the number in a Wallet pass so it's easy to find. Kardin puts a printed number in the pass's Number field and won't invent a barcode the card doesn't have. Staff can type the number in, but a pass without a barcode can't be scanned at self-checkout.
Do I need the library card in Wallet to borrow e-books and audiobooks?
Usually not. Library e-book and audiobook apps normally ask you to sign in with your card number and a PIN or password. A Wallet pass helps at the desk and the self-checkout machine. It doesn't sign you in to those apps, and your PIN should never go on the pass.
Written with AI assistance and checked against Kardin’s privacy and security documentation. Spotted something wrong or out of date? Tell us at support@kardin.app.