About this tool
This generator builds card numbers that pass the Luhn checksum and use the real IIN/BIN ranges of common networks (Visa, Mastercard, American Express, Discover, Elo, Hipercard), plus a random future expiry date, CVV and cardholder name. The numbers are completely fake: there is no account behind them, they hold no funds, and any real processor will decline them. Use them only to test input masks, brand detection and Luhn validation, never for real transactions or fraud.
How to use it
- 1 Pick a card network and how many numbers you want.
- 2 Click Generate to get the number, expiry, CVV and a random holder name.
- 3 Copy the block into your test cases.
Frequently asked questions
Can I buy anything with these?
No. They are structurally valid but not issued by any bank: there is no real account, no balance and no cardholder. Any genuine payment gateway rejects them. Using fake card data to attempt real purchases is fraud.
What does Luhn valid mean?
The Luhn algorithm is the checksum in the last digit of a card number. Payment forms use it as a first sanity check. These numbers satisfy it, which is what makes them useful for testing.
Are the BIN ranges real?
The leading digits match the published IIN ranges for each network so brand-detection code recognises them, but the remaining digits are random.
Embed this tool
Add this free tool to your own website — copy the code below. It stays up to date automatically.
More free tools
Lorem Ipsum Generator
Generate paragraphs, sentences or words of classic Lorem Ipsum filler text.
Random Number Generator
Pick fair random numbers in any range, with an option for no repeats.
UUID Generator
Generate random version-4 UUIDs (GUIDs), one or in bulk, instantly in your browser.
QR Code Generator
Turn any text or URL into a scannable QR code and download it as a PNG - instantly in your browser.
CPF Generator
Generate valid random CPF numbers with correct check digits, for testing forms and validation logic.
CNPJ Generator
Generate valid random CNPJ numbers with correct check digits, for testing forms and validation logic.