Your cart is empty
Shop now
+

Card Number Validator: What It Checks (and What It Can't)

Explore

Card Number Validator: What It Checks (and What It Can't)

We guarantee gift cards direct to your inbox immediately.
Shop Now!

Let's Work Together

Sign up now with Call of Gift Cards and become eligible for benefits including 10% commission on cards bought from us, awesome conversion rates and much more!
Find Out More

Digital Gift Cards

The market for digital goods and services are growing rapidly. One of the true shifts in online behaviour is the switch from traditional direct online payments and purchase to wallets and gift cards. ...read more
+

Digital Gift Cards

The market for digital goods and services are growing rapidly. One of the true shifts in online behaviour is the switch from traditional direct online payments and purchase to wallets and gift cards. We invite you to start your own online business as a partner of ours. By signing up as a partner you’ll get access to one of the largest gift card databases in the world. All you need to focus on is to market your website and products. Gift cards are quickly outperforming traditional gifts, as they give the recipient the choice to pick their own present from a variety of options. The range of e-gift cards available on the Call of Gift Cards's partner sites includes popular categories such as restaurants, games, travel and fashion.

Gift Vouchers

Traditional gift vouchers are printed paper gifts available in set values that can be spent in specific stores. Open-loop, semi-open loop, and closed-loop are often terms used when referring to gift v...read more
+

Gift Vouchers

Traditional gift vouchers are printed paper gifts available in set values that can be spent in specific stores. Open-loop, semi-open loop, and closed-loop are often terms used when referring to gift vouchers. All gift cards sold via our partners’ websites are closed loop. This means that the gift card can only be spent at a single brand location, for example, an Xbox voucher can only be spent at Xbox etc.

Our Gift Cards

Minecraft Coins – Starfield – Alan Wake 2 – Spotify Gift Card – Madden NFL 24 – Mortal Kombat™ 1 – Garena Shells – FIFA 23 – Assassin’s Creed Mirage – Valorant Points – Grand Theft Auto V – Razer Gold Pin – Cabal Online eCoin – Battlenet Gift Card – Elden Ring – Minecraft Java + Bedrock – Call of Duty: Modern Warfare III - Cross-Gen Bundle – EA SPORTS FCTM 24 Standard Edition Xbox One & Xbox Series X|S – Steam Wallet Gift Card – Battlefield™ V Standard Edition – iTunes Gift Card – PlayStation Network PSN Gift Card – Netflix Gift Card – Google Play Gift Card – Amazon Gift Card – Xbox Live Gift Card – Facebook Game Gift Card – FIFA 20 (Xbox One) – Far Cry 5 - Gold Edition (Xbox One) – NieR:Automata Become As Gods Edition (Xbox One) – SONIC FORCES™ Digital Standard Edition (Xbox Game EU) – Apex Legends™ - Octane Edition (Xbox Game EU) – Mario Kart 8 Deluxe (Nintendo) – Fortnite V-Bucks Gift Card – Nintendo eShop Gift Card – Red Dead Redemption 2 (Xbox One) – Halo 5: Guardians (Xbox One) – The Legend of Zelda: Link's Awakening (Nintendo) – DOOM Eternal Standard Edition (Xbox One) – The Legend of Zelda: Breath of the Wild (Nintendo) – Resident Evil 3 (Xbox One) – Need For Speed Heat (Xbox One) – Assassin's Creed Odyssey - Gold Edition (Xbox One) – Cars 3: Driven to Win (Xbox One) – Call of Duty: Modern Warfare 2 Campaign Remastered (Xbox One) – Team Sonic Racing™ (Xbox Game EU) – Project CARS - Game of the Year Edition (Xbox One) – Mario & Sonic Tokyo 2020 (Nintendo) – Tom Clancy’s Ghost Recon Wildlands - Deluxe Edition (Xbox One) – Forza Horizon 4 Ultimate Edition (Xbox One) – Sekiro™: Shadows Die Twice (Xbox One EU) – Tom Clancy's The Division 2 (Xbox One EU) – Gears 5 (Xbox One) – Dragon Ball Z: Kakarot (Xbox One) – The Crew Ultimate Edition (Xbox One) – Ultimate Marvel vs. Capcom 3 (Xbox One) – Pokemon Let's Go Eevee! (Nintendo) – Sonic Mania (Xbox Game EU) – UFC 3 - Deluxe Edition (Xbox One) – Mass Effect Andromeda - Standard Recruit Edition (Xbox One) – BioShock: The Collection (Xbox One) – A Way Out (Xbox One) – Borderlands 3 (Xbox One) – Overcooked! 2 (Nintendo) – World of Warcraft – PUBG Gift Card – Spyro Reignited Trilogy (Xbox One) – Aeria Points Gift Card – Destiny 2: Shadowkeep (Xbox One) – Steep (Xbox One) – Infinite Minigolf (Xbox One) – Rage 2 (Xbox One) – Fire Emblem Warriors (Nintendo) – Anthem (Xbox One) – Kingdom Hearts 3 (Xbox One) – FIFA 19 (Xbox One) – Goat Simulator (Xbox One) – The Elder Scrolls Online (Xbox One) – FOR HONOR™ Standard Edition (Xbox One) – IMVU Prepaid Gift Card

Card Number Validator: What It Checks (and What It Can't)

What a card number validator actually does

A card number validator answers one narrow question: could this string of digits be a payment card number? It runs a checksum, checks the length, and compares the leading digits against the issuer ranges that ISO/IEC 7812 assigns to banks. That is the whole job. A pass means the number is well formed. It says nothing about whether the account exists, whether it is open, or whether a charge would go through.

People mix up formatting with authorization constantly. Those are different problems handled by different systems, and only one of them involves the issuer.

The Luhn check

Most validators start with the Luhn algorithm, also called mod 10. Start at the rightmost digit and move left, doubling every second digit. If doubling pushes a value above 9, subtract 9. Add up everything. If the total divides evenly by 10, the check passes.

A single mistyped or transposed digit usually breaks that sum, which is why the check catches most data entry errors. Not all of them. Some mistakes still produce a valid checksum, roughly one in ten.

Length and issuer ranges

  • Major card brands run 13 to 19 digits, with 16 the most common.
  • The first digit hints at the network: 4 for Visa, 5 and 2 for Mastercard, 3 for Amex, Discover, and JCB.
  • ISO/IEC 7812 defines the issuer identification number as the first eight digits, expanded from six in 2017 to keep pace with demand.

A validator will accept 4111 1111 1111 1111, the Visa test number published by processors for sandbox work, and reject most random 16 digit strings. That test number has never been tied to a real account.

What a validator cannot tell you

No checksum confirms an account is open, funded, or authorized. Only the issuer can do that, through an authorization request over the card networks. A validator also ignores the security code, which is generated separately and never derived from the card number, plus the expiration date and the cardholder name.

Tools claiming to tell you whether a card is "live" are describing something else, and that something else is a test authorization against someone's account. Attempting it on a card you do not own is fraud in every U.S. state and most countries besides. There is no gray area there, and no legitimate use case dressed up as one.

Where validators show up in real systems

Checkout forms validate on the client for quick feedback and on the server for trust. Client side checks can be bypassed, so the server repeats the Luhn check before anything else happens. Solid payment flows then hand the number to a tokenization service, so raw digits never sit in a merchant database and stay out of PCI DSS scope.

If you are building a form, treat the validator as a first filter. Reject malformed input early, then let the processor tell you what actually happened.

What's New

Why I Can't Write a CVV Buying Guide

I can't write a buying guide for CVVs or stolen card data. I can help with card-fraud prevention, PCI DSS, and payment-security content instead.

Read our complete guide: What to Know Before You Buy CVV: Prices, Scams, and Legal Risks