Quick answer
A PKPASS file is the file format for cards in Apple Wallet, such as tickets, boarding passes, coupons and loyalty cards. Technically, it is a ZIP archive containing a pass.json for content and design, images such as the logo and icon, a manifest.json with checksums and a digital signature. On iPhone, one tap opens it in Wallet; Android uses Google Wallet's own format by default.
Key takeaways
- Definition: PKPASS is Apple's format for Wallet cards; the extension stands for PassKit Pass.
- Structure: A signed ZIP archive with pass.json, images, manifest.json and a signature.
- Signature required: The iPhone only accepts the file if it is signed with a certificate from the Apple Developer Program.
- Android: Google Wallet uses its own format, so good providers generate both versions.
- For shops: A provider creates, signs and updates the file; you only design the card.
A PKPASS file is the format used to store and distribute cards for Apple Wallet: boarding passes, cinema tickets, coupons and digital stamp cards. The extension stands for “PassKit Pass”, after Apple’s PassKit framework. Tap such a file on an iPhone, and one more tap puts the card into Wallet.
For shop owners, the format matters because it is the technical basis of every wallet pass on iPhone. You do not have to code it yourself, though.
What is a PKPASS file?
A PKPASS file is a ZIP archive with a fixed structure, described in Apple’s developer documentation. Its official media type is application/vnd.apple.pkpass. Apple distinguishes five card styles:
| Style | Typical use |
|---|---|
| boardingPass | Flights, train tickets |
| eventTicket | Concerts, cinema, sport |
| coupon | Vouchers, discount coupons |
| storeCard | Loyalty cards, stamp cards, gift cards |
| generic | Membership cards, everything else |
A stamp card for your café is usually a storeCard.
How a PKPASS file is structured
Rename a .pkpass file to .zip and unpack it, and you will typically find:
- pass.json: the core, with text, colours, barcode, card number and optional locations and dates
- icon.png: mandatory, shown in notifications, for example
- logo.png, strip.png, thumbnail.png: design elements, each in several resolutions (@2x, @3x)
- language folders such as en.lproj or de.lproj with translations, so the card follows the phone’s language
- manifest.json: a list of all files with their SHA-1 checksums
- signature: a digital signature over the manifest.json
Why the signature matters
The iPhone only accepts cards signed with a valid Pass Type ID certificate from the Apple Developer Program. If anyone changes even one character in the pass.json afterwards, the checksums no longer match and the card is rejected. That makes digital cards much harder to forge than paper.
How cards get updated
The pass.json can contain a web service address. When something changes, such as a new stamp, the issuer sends a signal to the iPhone via the Apple Push Notification service. The device downloads the new signed version and replaces the old one. More in our guide to updating a wallet pass.
Example from a shop
A barbershop in Berlin-Neukölln wants a digital stamp card. This is the journey of a PKPASS file:
- The customer scans the QR code at the mirror.
- The server generates an individual PKPASS file with its own card number and signs it.
- The iPhone shows the preview and the customer taps “Add”.
- On the next visit, the barber scans the card, the server updates the file, and the new stamp appears on the phone.
With mystamp, exactly this happens in the background: you upload your logo and choose the reward, and the card adapts automatically to Apple Wallet and Google Wallet. For you, stamping just means scanning the card with your own phone.
Your wallet card without a line of code
mystamp creates, signs and updates your stamp card for Apple Wallet and Google Wallet. You just upload your logo and choose the reward.
- Free-forever plan
- Ready in 10 minutes
- No app for customers
Opening a PKPASS file step by step
To save a PKPASS file on your iPhone:
- Tap the file: in Mail, Messages, Safari or after scanning a QR code.
- Check the preview: the iPhone shows the card with logo, colours and barcode.
- Tap “Add”: the card is now in the Wallet app.
- Adjust settings if you like: via the three dots on the card you can allow automatic updates and lock screen suggestions.
If it fails, the cause is usually one of these: the attachment was renamed, the server delivers the wrong media type, or the signature has expired. As a customer, all you can do is tell the issuer, because a signed file cannot be repaired on the device.
PKPASS on Android and other devices
| Device | Opens PKPASS? | Note |
|---|---|---|
| iPhone | Yes, directly | Tap the file, then “Add” |
| Apple Watch | Yes, via the iPhone | Card is synced |
| Mac | Preview possible | Saved in the iPhone’s Wallet |
| Android | Not directly with Google Wallet | Third-party apps or a proper Google Wallet card |
| Windows PC | No | Can only be inspected as a ZIP |
Google Wallet uses its own format, created through the Google Wallet API. Good providers therefore detect whether an iPhone or Android device scanned the QR code and deliver the matching card. Background in our guide to Apple Wallet on Android.
Create a PKPASS yourself or use a provider?
| Build it yourself | Provider | |
|---|---|---|
| Apple developer account | required, annual fee | not needed |
| Certificates and signing | you manage them | handled by the provider |
| Google Wallet version | build separately | usually included |
| Web service for updates | your own server | included |
| Time to first card | days to weeks | often under an hour |
Developers should look at our guide to building a wallet pass yourself. For a single shop in Munich or Zurich, a ready-made service almost always makes more sense; see create a wallet pass.
Common PKPASS mistakes
- Expired certificate: new cards can no longer be added
- Wrong media type on the server: without the correct MIME type, the browser shows gibberish
- Images in one resolution only: the logo looks blurry on newer iPhones
- No Android route: some customers cannot save the card at all
If a card will not work, our guide on what to do when a wallet pass is not working helps.
Related terms
- Mobile wallet: the digital wallet on your phone
- QR code: the most common barcode on wallet cards
- NFC: the contactless alternative to scanning
- Push notification: messages sent to the phone via the card
- Barcode types: QR, PDF417, Aztec and Code 128 compared
Frequently asked questions
What is a PKPASS file?
A PKPASS file is a digital card for Apple Wallet. It holds everything a boarding pass, ticket, coupon or loyalty card needs: text, colours, logo, barcode and, optionally, places or times when the card should appear on the lock screen. Technically, it is a signed ZIP archive with the .pkpass extension that the iPhone imports straight into Wallet.
How do I open a PKPASS file on iPhone?
Tap the file in Mail, Messages or Safari. The iPhone shows a preview of the card with an “Add” button. One tap later, the card is in Wallet and also available on a paired Apple Watch. If you only see a text view instead, the file is usually damaged, incorrectly signed or was renamed by your email app.
Can I open a PKPASS file on Android?
Not directly with the standard wallet. Google Wallet uses its own format, created through the Google Wallet API. Some third-party apps in the Play Store can read PKPASS files, but it is better if the issuer offers a proper Google Wallet card. Reputable providers detect the device and automatically deliver the right version.
Can I create a PKPASS file myself?
Yes, but it takes effort. You need an Apple Developer Program membership, a Pass Type ID certificate, a correctly structured pass.json, images in several resolutions and a script that calculates the manifest.json and signs the file. For updates, you also need your own web service. For a single shop, a ready-made provider is usually much cheaper and faster.
Can you edit a PKPASS file?
Not after the fact on the iPhone. Any change to content or images alters the checksums in the manifest.json, which invalidates the signature, so the iPhone rejects the card. Changes therefore go through the issuer: they generate a new signed version and push it via the Apple Push Notification service to every device where the card is saved.
Is a PKPASS file safe?
Generally, yes. The signature ensures the card comes from the stated issuer and has not been altered, and the file contains no executable code. Personal data is only included if the issuer adds it, such as a name on a boarding pass. A stamp card can work without any name at all and just carry a random card number, which suits GDPR principles well.
Sources & further reading
- Wallet Passes – Documentation – Apple Developer
- Apple Wallet for developers – Apple
- Google Wallet API – Google
About this guide
Written by the mystamp editorial team in Mannheim, Germany. We build digital stamp cards for local shops, and our guides bring together what actually works day to day in small businesses. We back numbers and legal statements with sources and update the article when things change.
Published: 1 December 2026 · Updated: 1 December 2026 · Spotted a mistake or have a question? Write to us