Advertisement

Prefix 51–55, 2221–2720 · 16 digits · 3-digit CVV

China Credit Card Generator

Generate test card numbers that start with real BINs from banks in China — preset with Agricultural Bank of China (519412). Luhn-valid, with expiry date and CVV. Test data only, not real cards.

Advertisement
Local bank BINs
Generated cards

Test data only — these numbers are not issued by any bank and every real payment with them will be declined.

Advertisement

Generated locally with your browser’s crypto API — nothing is sent to a server.

Mastercard format

Starts with
51–55, 2221–2720
Length
16
Security code
3
Stripe
5555 5555 5555 4444
Mastercard generator
Advertisement

Brand ranges at a glance

The prefixes and lengths your checkout must accept. Each brand has its own generator page.

For developers & QA

Test data that stays out of PCI scope

Use generated numbers for everything before the payment request, then switch to your gateway’s official sandbox cards for approvals, declines and 3-D Secure.

  • Test form validation & input masks
  • Seed staging databases and demos
  • Reproduce declines and 3-D Secure in the sandbox
Browse gateway test cards

Official sandbox cards, per gateway

All 18 gateways →

Real BINs from banks in China

The generator above is preset with BIN 519412, a Mastercard credit range of Agricultural Bank of China. Pick another bank's BIN below to switch — each number keeps the BIN, gets random digits and a Luhn check digit, and comes with a random expiry date and CVV.

BINIssuerNetworkType · levelUse this BIN
519412 Agricultural Bank of China MastercardCredit · Standard Use
454693 Bank of Guiyang Co., Ltd. VisaCredit · Platinum Use
513685 Industrial and Commercial Bank of China, Ltd. MastercardCredit · Standard Use
512451 Shanghai Pudong Development Bank MastercardCredit · Gold Use
517813 Bank of China, Ltd. MastercardCredit · Titanium Use
512007 China Guangfa Bank Co., Ltd MastercardCredit · Standard Use
404286 China Construction Bank Corporation VisaCredit Use
518711 China Merchants Bank MastercardCredit Use
601382 Bank of China UnionPayDebit · Personal Use

One BIN per bank — the most common Visa or Mastercard product of each of the largest issuers, plus local-network BINs. All 6,236 BINs with a named issuer are in the China BIN list.

Local card networks in China

Besides the international networks, China has its own card scheme. Local networks matter for testing because their numbers often use prefixes that a Visa/Mastercard-only form rejects or labels wrongly.

NetworkAboutBINsShareExample BIN
UnionPayChina UnionPay, the domestic network founded in 200212,97371% 601382 Bank of China
Advertisement

Largest card issuers in China

The 10 banks with the most BINs in the data, out of 1,068 named issuers. Each bank with ten or more BINs has a page listing all of them.

IssuerBINsMain networkDebit
Agricultural Bank of China1,066Local brand94%
Bank of Guiyang Co., Ltd.1,001Private label100%
Industrial and Commercial Bank of China, Ltd.314UnionPay18%
Shanghai Pudong Development Bank246Private label65%
Bank of China, Ltd.221UnionPay32%
China Guangfa Bank Co., Ltd.150UnionPay72%
China Construction Bank143Mastercard45%
CN ICBC Peony Money Link Card126UnionPay99%
China Merchants Bank104UnionPay50%
Air China100UATP0%

Card networks and card types in China

Our BIN data lists 18,370 BINs registered to China, 6,236 of them with a named issuer across 1,068 banks. UnionPay is the most common network (71% of the BINs), followed by Maestro (8%). Debit ranges outnumber credit ranges 16,066 to 2,304. 66 ranges are prepaid or gift products and 257 are business, corporate or commercial cards.

NetworkBINsShareDebitCredit
UnionPay12,973 71%12,159814
Maestro1,469 8%1,4690
Private label1,395 8%1,32570
Local brand907 5%9070
Visa564 3%105459
Mastercard500 3%76424
UATP299 2%0299
American Express116 1%1898

Most common product levels: Standard (1,929), Personal (1,155), Jiaxiu Card (1,000), Classic (684), UATP (299).

Payment testing notes for China

Generated numbers only pass format checks: network prefix, length and the Luhn checksum. They are not issued by any bank in China, carry no money and are declined by every real payment system — use them for forms, validation and BIN rules, and switch to your gateway's documented test cards for approvals and declines.

← Generators for other countries · China BIN list · BIN generator · BIN checker

BIN data: bin-list-data by Venelin Kochev (a lite version of binlookup.io), licensed under CC BY 4.0. Changes made by Fakecreditcard: issuer, brand and country names re-cased and standardized, spelling variants of the same issuer merged, malformed phone numbers and web addresses removed.

Frequently asked questions

Can I generate a China credit card number for testing?

Yes. The generator on this page starts every number with a real BIN registered to a bank in China — by default 519412 (Agricultural Bank of China, Mastercard credit). The remaining digits are random and the last one is a Luhn check digit. No bank issued the number, so it carries no account and real payments with it are declined.

Which card networks are most common in China?

By BIN count in our data: UnionPay 71%, Maestro 8%, Private label 8%, Local brand 5%. Local networks: UnionPay (12,973 BINs). Debit ranges make up 87% and credit ranges 13%.

Which BINs do Visa cards from China start with?

Examples from different banks: 454693 (Bank of Guiyang Co., Ltd.); 404286 (China Construction Bank Corporation). See the China BIN list for every bank.

Which currency should I use to test payments from China?

CNY (Chinese yuan (renminbi)). Gateway APIs usually expect amounts in the smallest unit (for example 1050 for 10.50). A card from any country can pay in any currency the merchant supports; the issuer handles conversion.

Will these numbers pass a payment gateway?

They pass format checks — length, network prefix and the Luhn checksum — so they are ideal for testing form validation and BIN-based rules. Gateways in test mode want their own documented test cards for approvals and declines; in live mode every generated number is declined because no bank has issued it.

Related tools

Advertisement