Card Generator is easy to use. Simply select your desired options and click "Generate" to create valid test credit card numbers.
1. Navigate to the Generator page
2. Choose between Basic mode (preset networks) or Advanced mode (custom BIN)
3. Configure your options (quantity, format, expiration, CVV)
4. Click "Generate"
5. Copy and use the generated cards in your test environment
Basic mode allows you to generate cards from predefined card networks.
Advanced mode gives you full control with custom BIN support and additional features.
Enter your own Bank Identification Number (6-16 digits). The system will complete it to 16 digits and add a valid Luhn check digit.
Enable the Money toggle to add currency and balance information to generated cards. Perfect for comprehensive testing scenarios.
4532 0123 4567 8901 | 12/25 | 123
4532012345678901|12|2025|123
Card Number,Expiration Month,Expiration Year,CVV,Network
4532012345678901,12,2025,123,visa
INSERT INTO cards (card_number, exp_month, exp_year, cvv, network) VALUES
('4532012345678901', '12', '2025', '123', 'visa');
[
{
"network": "visa",
"cardNumber": "4532012345678901",
"expMonth": "12",
"expYear": "2025",
"cvv": "123"
}
]
<?xml version="1.0" encoding="UTF-8"?>
<cards>
<card>
<number>4532012345678901</number>
<expMonth>12</expMonth>
<expYear>2025</expYear>
<cvv>123</cvv>
<network>visa</network>
</card>
</cards>
/api.php
{
"action": "generate",
"network": "visa",
"quantity": 10,
"format": "card",
"includeDate": true,
"includeCvv": true,
"expirationMonth": "random",
"expirationYear": "random"
}
{
"action": "generateAdvance",
"customBin": "453590",
"quantity": 10,
"format": "pipe",
"includeDate": true,
"includeCvv": true,
"includeMoney": true,
"currency": "USD",
"balance": "500-1000"
}
{
"success": true,
"data": {
"cards": [...],
"formatted": "...",
"count": 10
},
"message": "Cards generated successfully"
}
All generated cards use the Luhn algorithm (mod 10 algorithm) to calculate the check digit. This ensures that all generated numbers pass basic validation checks used by payment systems.
1. Starting from the rightmost digit (excluding the check digit), double every second digit
2. If doubling results in a number greater than 9, subtract 9
3. Sum all the digits
4. The check digit is the amount needed to make the total a multiple of 10
Card number: 453590123456789X (X = check digit)
Process: [4,5,3,5,9,0,1,2,3,4,5,6,7,8,9]
After doubling: [4,10,3,10,9,0,1,4,3,8,5,12,7,16,9]
After subtraction: [4,1,3,1,9,0,1,4,3,8,5,3,7,7,9]
Sum: 65
Check digit: (10 - (65 % 10)) % 10 = 5
Final card: 4535901234567895
These are test cards only! They cannot be used for real transactions. Use them only in test/development environments. For production testing, always use official test cards provided by payment processors (Stripe, PayPal, etc.).