Last updated: November 25, 2026. Stripe test data in this article was checked against Stripe's testing documentation on November 25, 2026.
Short answer: No. A fake credit card number will not complete a real purchase. Some fake card numbers pass basic format checks, and developers use official test credit card numbers in sandbox environments, but none of these credit card numbers that work in testing can move real money. This guide explains why, shows verified Stripe test cards, covers how fake credit card detection works, and lists safe alternatives. See real credit cards here
Key takeaways
- Fake numbers fail at real checkouts because the card issuer decides whether a payment is approved, and a made-up number has no account behind it.
- "Valid" usually means well-formed, not real. Many generated fake credit card numbers pass the Luhn check.
- Official test cards exist for developers and work only in a provider's test mode. The examples below are Stripe-specific.
- Lists of "working" or "leaked" card numbers are stolen data or scams. Using them is fraud.
- For privacy or free trials, use a virtual card with a spending limit, where your issuer offers one.
How credit card numbers are structured
A card number isn't random. It follows a structure:
- The first digits identify the card network and issuer. Visa cards, for example, start with 4.
- The length is typically 15 or 16 digits, depending on the network.
- The last digit is a check digit, calculated with the Luhn algorithm to catch typing mistakes.
So a fake card number can be mathematically valid without belonging to any real account. Generator sites only produce numbers that pass this format check, and a form that validates only the format will accept them. That is why a fake credit card number can look right on a form and still be useless for a real payment.
How the Luhn check works
The Luhn algorithm is a simple checksum that catches typing errors, such as a mistyped digit:
- Starting from the rightmost digit and moving left, double every second digit.
- If doubling gives a number above 9, subtract 9.
- Add all the digits together.
- If the total is divisible by 10, the number passes.
Figure 1. The Luhn check worked through on a published Stripe test number. Changing the last digit breaks it.
Passing the check means the number is well-formed. It does not mean an account exists. The check-digit method is specified in Annex B of ISO/IEC 7812-1, the international standard for card numbering. Stripe's own documentation uses a Luhn failure as a test scenario: 4242424242424241, one digit off its Visa test number, triggers an incorrect_number error.
Why fake card numbers fail on real purchases
A real payment doesn't stop at the format check. The processor sends the transaction to the card issuer, which decides whether to approve it. Depending on the issuer, card network, processor, and transaction, that decision can involve:
- Whether the account exists and is in good standing
- Whether available funds or credit cover the amount
- Security-code and billing-address checks, where supported
- Additional authentication, where required or requested
- The issuer's own fraud signals
Figure 2. A fake credit card can get through the first step and still fail at the second.
A made-up number has no account behind it, so it can't be approved. Even a random number that happened to match a real account would still need the other details to line up. This also answers the common question of how to buy things or order stuff online with a fake credit card: you can't. The payment is declined, and trying to use card details you aren't entitled to can be fraud.
Official test credit card numbers (Stripe examples)
There are fake card numbers that "work," but only in one context: payment providers publish official test credit card numbers so developers can check checkout flows without charging anyone. These are the dummy credit card numbers for testing that most people searching for a "test card number" actually need. They work in Stripe's test mode in any country, including the UK.
These examples are for Stripe testing. Test data and supported scenarios vary by payment provider. Always consult the provider's current documentation. The numbers below were checked against Stripe's testing documentation on November 25, 2026.
Figure 3. Only the first column is a legitimate use.
Successful payments: Stripe test card numbers
| Card | Stripe test number |
|---|---|
| Visa | 4242 4242 4242 4242 |
| Mastercard | 5555 5555 5555 4444 |
| American Express | 3782 822463 10005 |
| Discover | 6011 1111 1111 1117 |
For these, Stripe says to use a valid future expiration date (for example 12/34), any three-digit CVC (four digits for American Express), and any value for other form fields. So if you were wondering whether a test card comes with a CVV and expiry date, the answer is that you choose any CVC and any future date.
Failure, decline and authentication scenarios
| Scenario | Stripe test number | Documented outcome |
|---|---|---|
| Generic decline | 4000 0000 0000 0002 | card_declined (generic_decline) |
| Insufficient funds | 4000 0000 0000 9995 | card_declined (insufficient_funds) |
| Expired card | 4000 0000 0000 0069 | expired_card |
| Incorrect CVC | 4000 0000 0000 0127 | incorrect_cvc |
| Incorrect card number (fails Luhn) | 4242 4242 4242 4241 | incorrect_number |
| Always authenticate (3D Secure) | 4000 0027 6000 3184 | Requires authentication on all transactions |
Notes from Stripe: enter a CVC when testing CVC behavior, because Stripe skips the check if you leave it blank. 3D Secure redirects won't occur for payments created directly in the Stripe Dashboard, so test them through your own checkout form or an API call.
These work only in a Stripe sandbox with test API keys. A live checkout will decline them.
For other providers, use their own documentation: PayPal, Square, and Adyen.
What test cards can simulate
According to Stripe's documentation, test cards let developers check how checkout behaves in more than the success case:
- Successful payments, by card brand or country
- Card errors, including declines, fraud-prevention triggers, and invalid data
- Disputes and refunds
- Authentication, including 3D Secure
Testing only the success case is a common gap. Stripe notes that Strong Customer Authentication rules require 3D Secure for many online payments in the European Economic Area, so testing authentication paths matters as well.
Best practices for testing payments
- Use test API keys in all API calls whenever you work with a test card.
- Never use real card details in live mode for testing. Stripe's Services Agreement prohibits it.
- Avoid raw card numbers in server-side code. Stripe recommends test PaymentMethods such as pm_card_visa instead, because raw numbers in API calls might make your code non-PCI-compliant when you go live.
- Use a different test card for each independent scenario. Stripe notes that card-level state from one test can affect later tests.
- Re-check the documentation. Providers update test data, so confirm numbers on the official page rather than copying them from a blog.
Fake credit card detection: how merchants spot fake cards
Merchants and processors typically combine several signals. What's checked varies by issuer, network, processor, and transaction. This is why a fake Visa or any fake credit card number is rarely approved. Learn more about card cloning guide
| Layer | What it does |
|---|---|
| Issuer authorization | Checks whether the transaction can be approved |
| Address verification (AVS) | May compare billing-address information with the issuer's records |
| CVV verification | Checks the submitted security code where supported |
| 3D Secure | Provides additional authentication when required or requested |
| Velocity and pattern checks | Look for repeated failed attempts or unusual order patterns |
| Device and IP signals | Look for mismatches or known risky devices |
| Fraud scoring | Evaluates transaction risk using the signals available |
No single layer is universal or foolproof, and merchants tune them differently.
Fake credit card info and details: what generators give you
Searches for "fake credit card info," "fake credit card details" and "fake credit card with security code" usually lead to generator sites. What those produce is a number that passes the Luhn check, plus an invented expiry date and security code. There is no account, no balance and no cardholder behind any of it. That makes it a dummy credit card number, useful at most for checking that a form accepts the right format, and never a way to pay.
If you are building or testing a checkout, use the official test cards above instead of generated numbers. They return predictable results, so you can test both approvals and declines. For more on generators, see our guide on the card number generator.
Do credit card numbers that work exist? Leaked and "real" lists
People also search for "real credit card numbers that work," "leaked credit card numbers that work" and "real active credit card numbers with money." The honest answer is that the only working card numbers belong to account holders, and there is no legal way to get someone else's. Lists labeled "working," "real," "leaked," "hacked" or "unlimited" card numbers are stolen data or scams.
- Using a stolen number is credit card fraud, with serious criminal penalties.
- Sites selling or sharing card numbers commonly take payment and send nothing, or deliver malware.
- There are no safe, legal sources of other people's card numbers.
If you enter a fake number at a live checkout, expect a decline and possibly a flag on your attempt. Using card information fraudulently to obtain goods or services is illegal and can carry serious penalties, with the details depending on your jurisdiction and intent.
Safe alternatives: virtual cards and trials
If your goal is privacy or avoiding surprise charges after a free trial:
- Use a virtual card from your card issuer or payment provider, where offered. A virtual card is a separate number tied to your account, and some can be single-use or have spending limits. Availability and features vary by issuer, so check yours. See PayPal's virtual credit card guide and MoneySavingExpert's virtual credit cards explained.
- Choose trials that don't require payment details.
- Set a reminder to cancel before a trial ends, and use your issuer's alerts to catch unexpected charges.
If your own card details were leaked
- Contact your card issuer right away to report it and freeze or replace the card.
- Review recent transactions and dispute any you don't recognize.
- Turn on transaction alerts.
- Report identity theft at IdentityTheft.gov, run by the U.S. Federal Trade Commission, if your personal information may be involved.
Frequently asked questions
Is there a fake credit card number that works?
Only in test mode. Official test numbers work in a provider's sandbox. No fake credit card number completes a real purchase.
Do credit card numbers that work exist online?
The only working numbers belong to real account holders. Lists promising "working" or "real" numbers are stolen data or scams, and using them is fraud.
Can a fake card number pass a website's form?
Sometimes, if the form checks only the format. The issuer will still decline the payment.
Can I buy something online with a fake credit card?
No. The payment is sent to the issuer, which has no account for a made-up number, so it is declined.
Is it legal to generate fake credit card numbers?
Generating format-valid numbers for legitimate software testing is generally permitted. Using payment-card information fraudulently to obtain goods or services is illegal and can carry serious penalties. Laws vary by jurisdiction. Full guide on card number generator
What is the Luhn algorithm?
A checksum that catches typing errors. It does not confirm that an account exists.
What is a dummy credit card number?
Usually an official test number from a payment provider, used in a sandbox. It is also sometimes used for a generated number that has no account behind it.
Is 4242 4242 4242 4242 a real card?
No. It's a Stripe test number that works only in Stripe's test mode.
Which test credit card numbers can I use?
Use the official ones in your provider's documentation, such as Stripe's test card numbers above. Use any future expiry date and any CVC unless you are testing a specific failure.
What is the difference between a test card and a fake card?
A test card is published by a provider for sandbox use and simulates specific outcomes. A generator's "fake card" has no official purpose.
How does fake credit card detection work?
Through issuer authorization and a mix of other checks, such as address and security-code verification, 3D Secure, and fraud scoring. Methods vary by merchant and processor.
Are leaked or "working" card numbers real?
They are stolen data or scams, and using them is fraud.
How can I avoid giving my real card to a free trial?
Use a virtual card with a spending limit if your issuer offers one, or choose trials that don't require card details.
Sources and further reading
Primary source for test data
Technical standard
- ISO/IEC 7812-1: Identification cards, Identification of issuers, Numbering system
Other provider documentation
Virtual cards
- PayPal: Virtual credit card numbers
- MoneySavingExpert: Virtual credit cards explained
Consumer protection
Supplementary reading (general background; not cited for specific claims above)
Disclaimer: This article is for general information. Check your payment provider's documentation for current test card details, and follow the laws in your jurisdiction.