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

Runs in your browser · 8 networks · 374,788 BINs

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. Need a card that works online? Ask your bank for a virtual card. Testing a checkout? Use your gateway’s sandbox test cards.

Advertisement

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

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

Real BINs from banks in China

The generator above is preset with BIN 519412, a Mastercard credit range of Agricultural Bank of China. Each row below is a different bank. Switching keeps that bank's prefix, randomizes the middle digits and recomputes the check digit, with a fresh expiry 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

Each row is a different bank: its most common Visa or Mastercard range, plus local-network BINs. All 6,233 BINs with a named issuer are in the China BIN list.

Local card networks in China

Local schemes are where card forms usually break: their prefixes are missing from many brand-detection libraries. These are the domestic networks of China.

SchemeCard numbers start withLengthOnlineAbout
UnionPay (China UnionPay)
China UnionPay Co., Ltd. (international business: UnionPay International)
62, 81000000-81719999 16, 17, 18, 19 Yes China's national bank card network. No as a rule (its own network); in the US UnionPay cards are routed over Discover. Source

BIN counts for local networks in our dataset:

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,031 named issuers. The three largest issuers — Agricultural Bank of China, Bank of Guiyang and Industrial and Commercial Bank of China — hold 39% of the BINs with a named bank. Follow a bank name for its complete list of ranges.

IssuerBINsMain networkDebit
Agricultural Bank of China1,077Local brand94%
Bank of Guiyang Co., Ltd.1,001Private label100%
Industrial and Commercial Bank of China, Ltd.332UnionPay18%
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 Bank110UnionPay47%
Air China100UATP0%

Card networks and card types in China

Our BIN data lists 18,370 BINs registered to China, 6,233 of them with a named issuer across 1,031 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. Visa and Mastercard hold a similar number of ranges. 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

Paying online in China: local methods and gateways

Cards are only part of the picture. These payment methods are popular in China and usually sit next to the card form at checkout:

Payment gateways developers commonly integrate for China, with their official sandbox docs:

GatewayAboutTest cards
Alipay (open platform / Alipay global)Alipay offers a sandbox that mimics production API responses for creating, cancelling and refunding transactions. Official docs
Adyen (UnionPay SecurePlus)Global PSP whose UnionPay integration covers the SMS-code flow for Chinese cardholders. Official docs
Stripe (Alipay and WeChat Pay)Lets merchants outside China accept Alipay and WeChat Pay. Official docs

Card generators for other countries

← 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 default prefix is 519412, a Mastercard credit range of Agricultural Bank of China. The generator adds random digits and a Luhn check digit, plus an expiry date and CVV. They are test data only: no account sits behind them.

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). Shoppers with cards from China can still be charged in other currencies; their bank converts the amount.

Can I use a generated China card number to buy something?

They do not. A generated number only has the right shape; Agricultural Bank of China or any other issuer has never heard of it, so authorization always fails. Real alternatives: a virtual card from a bank in China or a wallet such as Alipay and WeChat Pay. Testing a checkout? Use your gateway’s sandbox test cards.

What does a UnionPay (China UnionPay) card number look like?

UnionPay (China UnionPay) numbers start with 62 and 81000000–81719999 and have 16/17/18/19 digits with a Luhn check digit. China's national bank card network. Make sure your card form accepts these prefixes instead of rejecting them as an unknown brand.

Which payment methods should a checkout for China offer next to cards?

Alipay: Ant Group's wallet; customers approve in the Alipay app, there is no dispute process, and refunds are allowed for up to 90 days (Stripe). WeChat Pay: Tencent's wallet inside WeChat; on the web the customer scans a QR code to pay.

Related tools

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 →

Advertisement