ToolerCat / Test Card Generator / UnionPay Test Card Generator

UnionPay Test Card Generator

Luhn-valid UnionPay numbers with expiry, CVV and fake cardholder data for testing.

Click the card to see the CVV

Output
⚠ For testing form validation, UI and QA fixtures only. Generated numbers pass the Luhn check but are random — they are not real accounts and will be declined by any live payment system. To test real payment flows use a provider's official sandbox cards.

UnionPay card number format

UnionPay numbers start with 62, have 16 digits and a 3-digit security code. The last digit is a Luhn check digit, which lets forms catch typos before sending the card to the payment provider.

Official sandbox test numbers for UnionPay

These work in the providers' test mode (unlike generated numbers):

ProviderNumberScenario
Stripe6200000000000005Successful payment

FAQ

How many digits does an UnionPay card have?

16 digits, with a 3-digit security code.

Are generated card numbers real?

No. They follow the brand's prefix and length rules and pass the Luhn checksum, so they look valid to front-end validation, but they are random and not linked to any bank account. Any real authorization will fail.

What can I use them for?

Testing checkout form validation, input masks and brand detection, filling QA databases and fixtures, UI screenshots and demos, and load-testing tools that only need well-formed numbers.

Can I use them in Stripe or Adyen test mode?

Usually no — sandboxes only accept their own published test numbers. Use our test cards list for gateway testing.