StoreKit 2 Transaction Decoder.
Decode StoreKit 2 signed transactions, renewal info and AppTransaction JWS, one or many at once.
Runs in your browserAbout StoreKit 2 Transaction Decoder
StoreKit 2 replaced the old app receipt with signed JSON Web Signatures. Transaction.jwsRepresentation, the renewal info of a subscription, AppTransaction and the signedTransactions arrays returned by the App Store Server API are all compact JWS strings that look like eyJhbGciOiJFUzI1NiIs… This decoder turns them back into readable data. Paste a single token, several tokens one per line, or a whole JSON response, for example from Get Transaction History or Get All Subscription Statuses, and every JWS inside is found and decoded. The items table shows the kind of each value (transaction, renewal info or app transaction), the product, the transaction and original transaction IDs, purchase and expiry dates in UTC, the price converted from milliunits (4990 means 4.99) and whether a subscription is active, expired or revoked at the time you look. The decoded JSON keeps every field, so new fields Apple adds still show up. Common mistakes it helps catch: confusing transactionId with originalTransactionId when you look up a subscription, reading price as whole currency units, testing with Sandbox or Xcode environment values in production code, and missing a revocationDate after a refund. Legacy PKCS#7 receipts (Base64 starting with MII) are not decoded; Apple deprecated that format along with verifyReceipt. Signatures are not verified here: check the ES256 signature and the Apple Root CA - G3 chain on your server before you unlock content. Decoding runs entirely in your browser.
How to Use
- Copy a transaction JWS from your app logs, or an App Store Server API response.
- Paste it into the input; several tokens can go on separate lines.
- Review the items table and open the decoded JSON for every field.
Frequently Asked Questions
Can I paste a whole App Store Server API response?
Yes. Any JSON is searched for JWS strings, so responses with signedTransactions, lastTransactions or signedRenewalInfo work as they are.
Does it support the old receipt-data Base64?
No. Legacy PKCS#7 receipts are deprecated together with the verifyReceipt endpoint. Use AppTransaction and Transaction from StoreKit 2, or the App Store Server API, which return JWS values this tool decodes.
Is the signature checked?
No, the tool decodes only. Verify the ES256 signature against the leaf certificate in x5c and check that the chain ends in Apple Root CA - G3 on your server before granting access.
How is the active/expired status worked out?
A transaction with a revocationDate is shown as revoked. Otherwise one with an expiresDate later than now is active and one in the past is expired. Non-subscription purchases show as purchased.
Related Tools
Decode App Store Server Notifications V2 (signedPayload JWS) with nested transaction and renewal info.
Decode Google Play Real-time Developer Notifications from Pub/Sub messages and name each notificationType.
Sign an ES256 JWT for the App Store Connect API or App Store Server API with your .p8 key, in the browser.
Decode, inspect, and verify JSON Web Tokens.
Work out MRR, ARR, churn, retention, LTV, CAC payback and trial conversion for a subscription app.
Convert between Unix timestamps and dates.