Magnetic Stripe Track 1 & 2 Parser
Decode Track 1 / Track 2 test data: PAN, name, expiry, service code and discretionary data.
Tool inputs stay in your browser · optional AI search sends your query
Good to know: Use test data only. Track data from real cards is highly sensitive and must never be stored (PCI DSS).
How to use it (step by step)
- 1Type or paste your text into the “Track data (one track per line)” box. There is already an example in it so you can see how it works; press Clear to start with your own.
- 2The answer appears right away in the “Decoded” box. No button needed.
- 3Press Copy and paste the result wherever you need it.
Words to know
- Expiry date
- The month and year printed on a card (MM/YY). The card works until the last day of that month.
- Mock data
- Made-up sample data used to test apps without touching real people’s information.
- PCI DSS
- The security rules businesses must follow when handling card numbers. One rule: never show or save the full number.
More in Cards & Payments
Luhn Algorithm Step by StepSee exactly how the Luhn (mod 10) checksum is calculated for any number.Bulk Card Number ValidatorValidate a list of card numbers at once: network, length and Luhn, one per line.Card Brand DetectorIdentify the card network from the first digits: Visa, Mastercard, Amex, JCB, UnionPay and more.BIN / IIN Checker (Offline)Break down the first 6–8 digits of a card: network, industry (MII), lengths and IIN size.MII Lookup (First Card Digit)What the first digit of a card number means: banking, travel, airlines, petroleum…Card Expiry Date ValidatorCheck an MM/YY expiry: valid format, expired or not, and months left.