What Is a .pkpass File and How Do You Open One?

By · Published · Last updated · 6 min read

A .pkpass file is a pass for Apple Wallet: a boarding pass, event ticket, loyalty card, coupon or membership card packaged as a single file. On an iPhone you tap it, check the preview and tap Add, and the pass sits in Wallet from then on. On other devices it is less simple, because Apple Wallet only runs on Apple devices. This guide explains what is inside the file, how to open it on each kind of device, why a pass sometimes will not open, and how businesses create them.

What is inside a .pkpass file

A .pkpass file is a zip archive with a different extension. Its MIME type is application/vnd.apple.pkpass. Inside are:

  • pass.json: the pass itself, meaning the name of the business, the fields shown on the front and back, the barcode and the colours.
  • Images: icon.png is required; a logo, strip or thumbnail image is optional, depending on the pass style.
  • manifest.json: a list of every file in the package with its SHA-1 hash, so Wallet can tell whether anything was changed.
  • signature: a signature over the manifest, made with the issuer's Apple Pass Type ID certificate.

The signature is what makes a pass trustworthy. Wallet refuses a pass whose files do not match the manifest or whose signature does not verify, which is why you cannot edit a .pkpass file in a text editor and add it again. Our .pkpass format reference covers every file in detail, and Apple's Wallet Passes documentation is the source.

A related extension, .pkpasses, is a bundle that holds several passes at once, for example one ticket per person in a booking.

How to open a .pkpass file

On an iPhone

Tap the file wherever it arrived: an email attachment in Mail, a file in Messages, a download link in Safari, or a file in the Files app. Wallet shows a preview of the pass. Tap Add in the top corner. The pass is now in the Wallet app, and if you have an Apple Watch paired with the phone, Apple says the pass is also added to the watch when Mirror iPhone is on (Apple Support).

If tapping the file shows a page of text or offers to download it instead of opening Wallet, the server that sent it is probably not using the .pkpass MIME type. Try opening the same link in Safari, or ask the sender for a link rather than an attachment.

On a Mac

Apple's Safari guide says you can add passes to Wallet on your iPhone, iPad or Mac from Safari: open the page with the pass, then click Add to Wallet in the pass. iCloud has to be set up for Safari on the devices involved (Apple Support: Add passes to Wallet in Safari on Mac).

If you have the file itself on a Mac and want it on your phone, the simplest route is to AirDrop it to the iPhone or email it to yourself and open the attachment on the phone.

On Android

Apple Wallet does not exist on Android, so there is no app that opens a .pkpass file exactly as an iPhone does. You have two options:

  1. Google Wallet. Google's help page describes saving a downloaded pass: open the pass, choose Google Wallet, tap Continue and then I understand. Google warns that a converted pass "may be limited in functionality and you may not get updates about the pass" (Google Wallet Help: Manage items). The page does not list which file types it accepts, so whether a given .pkpass file converts depends on your phone and the pass.
  2. A third-party pass app. Apps such as PassWallet have opened .pkpass files on Android for years. They show the pass and its barcode, but they are separate from Google Wallet.

If the barcode is all you need, Google Wallet can also make a pass from a photo of a barcode. Take a screenshot of the pass on another device, then in Google Wallet tap Add to Wallet, then Photo (Google Wallet Help). The pass will not update, but it scans.

For a fuller answer for Android users, see Apple Wallet on Android: what works.

On Windows

Windows has no wallet app that reads .pkpass files. Because the file is a zip archive, you can copy it, rename the copy to .zip and open it to see the images and pass.json, but you cannot add the pass to anything from Windows. To use the pass, send it to an iPhone, or to an Android phone and follow the steps above.

Why a .pkpass file will not open

When Wallet refuses a pass, it usually says only that the pass cannot be added. The common causes are:

  • The signature does not verify. The pass was signed with a certificate that does not match the passTypeIdentifier and teamIdentifier in pass.json, or the signing chain is missing Apple's intermediate certificate. See Apple Wallet pass certificates explained.
  • A file changed after signing. Any edit to pass.json or an image after the manifest was made breaks the hash check.
  • pass.json is not valid. A missing required key, a wrong type or a stray comma is enough.
  • The download is wrong. The server sent the wrong MIME type, or the file was saved as a .zip or .txt on the way.
  • A required image is missing. Without icon.png the pass is not valid.

Our free .pkpass validator checks a file in your browser, without uploading it, for a valid pass.json, a manifest that matches every file and the required images. It cannot verify the signing certificate or how your server sends the file, so always test the pass on a real iPhone too.

How to create a .pkpass file

There are two routes.

Build it yourself. Join the Apple Developer Program, register a Pass Type ID, create its certificate, write pass.json, add the images, generate the manifest and sign it. Libraries exist for most languages, and the steps are in how to create an Apple Wallet pass. You also need a way to send each customer their file and, if the pass should change after it is added, a web service that Wallet can call for updates.

Use a wallet pass platform. A platform holds the certificate, builds and signs each file, and hosts the link customers tap. Disclosure: Shakewell Wallet is our product. On Shakewell Wallet you design the card in a visual builder and share one signup link or QR code; each customer gets a signed pass for Apple Wallet or a Google Wallet pass for Android, and you can change their pass after it is added. See pricing for the plans.

If all you have is a QR code or barcode and you want it in Wallet, our QR code to wallet pass tool and the guide that goes with it cover that case.

Frequently asked questions

Is a .pkpass file safe to open? A pass contains data and images, not a program, and Wallet shows you a preview before anything is added. Treat it like any attachment: open passes from senders you expect, such as an airline or a venue you booked with.

Can I edit a .pkpass file? You can unzip it and read pass.json, but Wallet will not accept the edited file, because the signature no longer matches. Only the issuer, who holds the certificate, can produce a changed pass.

Why does my pass update by itself? Passes can include a web service address. When the issuer changes the pass, Wallet is notified and downloads the new version. See how wallet pass updates and push notifications work.

Does Google Wallet use .pkpass files? Not for passes that businesses issue. Google Wallet passes are created through the Google Wallet API and saved from a link. See how to create a Google Wallet pass.

All guides

The easier way

Do it in an afternoon, not a sprint.

Certificates, signing, hosting and updates are handled for you, for one flat monthly price.