Cette page n’est pas encore traduite en français : elle s’affiche en anglais.

Credit Card Validator — Check Card Numbers (Luhn)

Type a card number to check its Luhn checksum, length and card brand — Visa, Mastercard, American Express, Discover, JCB, Diners Club, UnionPay, Maestro and more. Useful for testing checkout forms; includes official test numbers. Nothing is sent or stored.

Mis à jour le

Checked only in your browser. For testing, prefer the test numbers below — a valid checksum doesn’t mean a card exists or has money.

Test card numbers

    Bulk check

    Vos données ne quittent jamais votre ordinateur. Tout le traitement se fait localement dans votre navigateur.

    Comment utiliser : Credit Card Validator

    1. Type or paste a card number — spaces and dashes are fine.
    2. See the brand, whether the length fits that brand and whether the Luhn checksum passes.
    3. Testing a payment form? Click a test number to use it; payment providers accept these in test mode only.
    4. Paste a list into Bulk check to validate many numbers at once.

    The Luhn algorithm

    Almost every payment card number ends with a check digit calculated with the Luhn (mod 10) algorithm. From the right, every second digit is doubled (subtracting 9 if the result is over 9), all digits are added up, and the total must end in 0. It catches most typos — a wrong digit or two swapped neighbors — before a form even contacts the bank.

    Card brands by first digits

    BrandStarts withLength
    Visa413, 16, 19
    Mastercard51–55, 2221–272016
    American Express34, 3715
    Discover6011, 644–649, 6516–19
    JCB3528–358916–19
    Diners Club300–305, 36, 38–3914–19
    UnionPay6216–19
    Maestro50, 56–58, 612–19

    What it can’t tell you

    A valid checksum only means the number is well-formed. Whether the card exists, is active or has funds is known only to the issuing bank, through a real payment authorization. Never use real card numbers for testing — use your payment provider’s test numbers.

    Aussi recherché comme : credit card number checker, luhn check, validate card number, card type checker, bin checker, test credit card numbers, luhn algorithm, visa number validator.

    Outils complémentaires : Credit Card Validator

    • IBAN Validator — Check whether an IBAN is valid before you send money or save it: the country, the length for that country, the account format and the mod-97 checksum.
    • Générateur de nombres aléatoires — Générez des nombres aléatoires (avec ou sans doublons), sélectionnez des gagnants dans une liste, mélangez des noms, répartissez des groupes en équipes, lancez une pièce et lancez des dés — en utilisant la fonction aléatoire cryptographiquement sécurisée de votre navigateur.
    • Générateur de données factices — Créez jusqu'à 10 000 lignes de données de test réalistes — utilisateurs, produits, commandes, adresses, entreprises ou enregistrements API imbriqués — ou élaborez votre propre schéma.
    • Testeur d’expressions régulières — Saisissez un modèle et observez les correspondances s'afficher en temps réel dans votre texte de test.

    Questions fréquentes

    How do I check if a credit card number is valid?
    Type it in: the tool runs the Luhn checksum, checks the length for the card brand and shows the brand. A pass means the number is well-formed, not that the card is active.
    What is the Luhn algorithm?
    A checksum formula: double every second digit from the right, add all digits, and the total must be a multiple of 10. It detects most typing mistakes.
    Which numbers can I use to test payments?
    Use the test numbers listed here (such as 4242 4242 4242 4242) with your payment provider’s test mode and any future expiry date. They never charge real money.
    Is the card number sent anywhere?
    No. Validation runs entirely in your browser and nothing is stored.
    Puis-je installer Credit Card Validator en tant qu’application web et l’utiliser hors ligne ?
    Oui. Credit Card Validator est une application web installable (PWA) : elle s’installe depuis votre navigateur, sans passer par une boutique d’applications. Cliquez sur « Installer l’application » en haut de cette page dans Chrome ou Edge (Windows, macOS, Linux, ChromeOS) ; sur Android, utilisez « Partager » → « Ajouter à l’écran d’accueil » sur iPhone et iPad ; ou « Fichier » → « Ajouter au Dock » dans Safari 17+ sur Mac. L’application s’ouvre alors dans sa propre fenêtre avec sa propre icône, et comme elle s’exécute entièrement dans votre navigateur, elle continue de fonctionner hors ligne. Firefox sur ordinateur de bureau ne permet pas d’installer d’applications web. Comment fonctionne l’installation.

    Outils similaires