Advertisement

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

VCC Generator

Generate virtual-card-style test numbers with expiry date and CVV for checkout forms, demos and test data. They pass the Luhn check but no bank issued them — for a real virtual card, see the comparison below.

Advertisement
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 →

What this VCC generator makes

A virtual credit card (VCC) is an ordinary card number that exists only in an app: it has the same 16 digits, expiry date and security code as a plastic card, so a checkout form can’t tell the two apart. The generator above creates numbers in exactly that format — the right prefix and length for the brand you pick, a valid Luhn check digit, a future expiry date and a CVV — so you can test anything that handles virtual cards without touching a real one.

Typical uses are checking that a checkout or card-on-file form accepts every brand and length, seeding a staging database with realistic card data, filling screenshots and product demos, and load-testing a tokenization flow with thousands of distinct numbers. Pick a brand or type a BIN pattern, choose CSV, JSON or XML, and export. Everything runs in your browser.

The numbers are test data. No bank issued them, there is no account or credit line behind them, and every real payment with one is declined.

Generated VCC numbers vs. real virtual cards

Generated test numberReal virtual card
Issued byNobody — random digits in the brand’s rangeA bank, card issuer or e-money institution
Passes the Luhn checkYesYes
Account or balanceNoneYour bank account, e-money balance or credit line
Can pay for thingsNo, always declinedYes, online and often in Apple Pay or Google Pay
Works in a gateway sandboxNo — use the gateway’s test cardsNo — sandboxes reject real cards
Single-use or merchant-lockedNot applicableOften, depending on the provider
Made forTesting forms, fixtures and demosPaying online without exposing your main card
Advertisement

Need a real virtual card?

If you came here to pay for something online, you need a virtual card from a real issuer, not a generator. A real VCC is a separate card number linked to your own account. Depending on the provider, it can be:

The main benefit is containment: if a shop is breached, only that one number is exposed, and you delete it without replacing your bank card.

How to get one

  1. Check your own bank’s app first. Look for “virtual card”, “digital card” or “card controls” — many banks create one instantly at no cost.
  2. If your bank doesn’t offer one, open an account with a provider from the table below. Expect identity verification: a photo ID, a selfie and sometimes proof of address.
  3. Create the card in the app, and set a limit or merchant lock if the provider supports it.
  4. Add it to Apple Pay or Google Pay if you want to use it on your phone.
  5. Delete cards you no longer use. Locking a card stops new charges, but it doesn’t cancel a subscription — cancel that with the merchant.
ProviderAvailable inWhat you getControlsCost
Privacy.comUnited StatesVirtual debit cards funded from your linked US bank accountSingle-use and merchant-locked cards, spend limits, pause or close any cardFree plan (up to 12 new cards a month); paid plans
Capital One virtual cardsUnited States, Capital One credit cardholdersVirtual numbers for your existing Capital One credit cardMerchant-specific cards you can lock; one-time-use numbers; online use onlyIncluded with eligible cards
RevolutUK, EEA, US and other marketsVirtual debit cards on your Revolut account, created in the appFreeze or delete cards; disposable cards that change number after each payment (plan limits apply)Free plan; paid plans add more cards
WiseMany countries where the Wise card is offeredDigital debit cards linked to a multi-currency accountFreeze, replace and set limits per card in the app; spend in 40+ currenciesCheck card fees for your country
PayoneerMany countries; for freelancers and businessesMastercard cards for spending your Payoneer balance, including virtual cards where offeredBusiness spending from received payments; eligibility varies by countryCard fees may apply
Banks in IndiaIndiaVirtual debit, credit or prepaid cards (Visa, Mastercard or RuPay) issued in your bank’s appTurn online use on or off and set limits per card, as RBI rules require for card controlsVaries by bank
Digital banks in BrazilBrazilCartão virtual for your credit or debit account in the bank’s app (e.g. Nubank, Inter, C6 Bank)Create, block or delete cards; some banks offer temporary cards that expire after a short timeUsually included with the account

Features, fees and availability as we understood them in October 2026. They change often and depend on your country and plan, so check the provider for current terms before you sign up. This is general information, not financial advice.

Disclosure: we don’t receive anything from the providers listed here; the links go to their official websites.

Why generated numbers fail on free trials

A free-trial sign-up checks much more than the card number’s format. Following the steps a payment goes through shows why a generated number can never pass:

  1. Format check. The form checks the length, prefix and Luhn digit. A generated number passes — this is the only check it is designed for.
  2. Authorization with the issuer. The merchant sends a small or zero-amount authorization through the card network to the bank that owns the BIN. No bank has an account for a generated number, so the issuer declines it, often as “invalid account” or “do not honor”.
  3. CVV and address checks. The issuer compares the security code and billing address with its records. A random CVV can’t match a card that doesn’t exist.
  4. 3-D Secure. Especially in Europe and the UK, the bank may ask the cardholder to approve the payment in their banking app.
  5. Merchant rules. Many services decline prepaid or disposable cards for trials, because they need to charge the card when the trial ends.

Step 2 is where every generated or made-up number stops, by design: it is what keeps card payments safe for everyone. Using a card number you aren’t authorized to use is fraud, whatever tool produced it.

If your real goal is not being charged after a trial you forgot about, a real virtual card is the honest fix: give the service a card with a low limit, or one you can lock, set a reminder, and cancel through the service before the trial ends.

Testing virtual-card flows in your own app

People searching in Portuguese call this tool a gerador de cartão de crédito virtual: the same rules apply — the numbers are for testing, and a real cartão virtual comes from your bank’s app.

Generated VCC numbers are for software testing and demos only. They are not linked to any bank account, hold no money and are declined by every live payment system.

Frequently asked questions

What is a VCC generator?

A tool that creates numbers in the format of a virtual credit card: the right prefix and length for the brand, a Luhn check digit, an expiry date and a CVV. The numbers are test data for developers and testers. They are not issued by a bank and cannot pay for anything.

Can I use a generated VCC for a free trial?

No. Sign-ups that ask for a card verify it with the issuing bank, usually with a small authorization, and a generated number fails that check. If you want to control a trial, use a real virtual card from your bank with a low limit, or one you can lock before the first charge.

How do I get a real virtual credit card?

Check your own bank’s app first — many banks can create a virtual card instantly. Otherwise, fintech accounts such as Revolut and Wise (many countries) or Privacy.com (US) issue virtual cards after you open an account and verify your identity.

Is a virtual card number different from a physical card number?

Not in format. A virtual card has a normal 16-digit number from the issuer’s BIN range, an expiry date and a CVV, so checkout forms treat it like any other card. The difference is that it exists only in the app and can often be limited, locked or used once.

Is this VCC generator free and private?

Yes. Numbers are generated in your browser with its cryptographic random number generator; nothing is sent to or stored on our server.

Related tools

Advertisement