Visa Card Generator
424242 β Stripe's default Visa test card.
Use it for checkout testing, gateway integration and QA. No sign-up, everything runs in your browser.
*All random cards generated are structurally valid but have no actual balance and cannot be used for online payments or real transactions. Any attempt to use these test card numbers for actual purchases is strictly prohibited and illegal. For more details, visit our Terms of Service.
Visa test card numbers
These numbers come from provider documentation (Stripe, Braintree, Authorize.Net) and only work in those providers' test modes. On Stripe and Braintree any future expiry date and any 3-digit CVV work; other gateways may require specific values.
| Card number | Type | Behaviour |
|---|---|---|
| 4242 4242 4242 4242 | Credit | Succeeds (Stripe) |
| 4000 0566 5566 5556 | Debit | Succeeds (Stripe) |
| 4111 1111 1111 1111 | β | Succeeds (Braintree, Adyen, Authorize.Net) |
| 4012 8888 8888 1881 | β | Succeeds (Braintree) |
| 4007 0000 0002 7 | β | Succeeds β 13-digit number (Authorize.Net) |
Visa BIN ranges and lengths
- First digit: Visa numbers always start with 4.
- Length: 13, 16 or 19 digits. 16 is the standard for modern cards.
- BIN/IIN: the first 6β8 digits identify the issuing bank.
- Check digit: the last digit is calculated with the Luhn algorithm.
Enter any valid 6β8 digit Visa BIN in the generator above to produce numbers for that issuer range. Need something else? Try the Mastercard generator or the full test card numbers list.
FAQ
- Are these Visa numbers real?
- No. They are structurally valid test numbers with no balance and no associated account. They cannot be used for real payments.
- Why does my gateway reject a generated number?
- Most gateways only accept their own documented test BINs in test mode. Use the numbers in the table above for gateway-specific behaviour and generated numbers for format validation, UI testing and fuzzing.
- How do I check a Visa number?
- Use the Luhn validator or the BIN checker.
Free payment testing tools
Credit Card Generator
Generate test cards from any BIN
Advanced Generator
Wildcard patterns & bulk output
Test Card Numbers
Official numbers from gateway docs
Luhn Validator
Check if a card number is valid
BIN Checker
Identify the card network from a BIN
Visa Generator
Visa test numbers starting with 4
Mastercard Generator
Mastercard test numbers 51β55 / 2221β2720
Amex Generator
American Express 15-digit test numbers
Discover Generator
Discover test numbers 6011 / 644β649 / 65
Interest Calculator
Estimate credit card interest
Payment Calculator
Plan your monthly payoff
Articles
Payment testing guides & tutorials