Credit Card Number Validator

Check a card number with the Luhn algorithm, see which network it belongs to and whether the length fits. Works on your device, so the number is never sent anywhere.

Processed on your device. Files are not uploaded

How to check a card number

  1. Paste your card number

    Paste or type it into the box, or press Try an example.

  2. Read the result

    A green or red message says whether it is valid, with the details below.

  3. Fix and re-check

    Edit the number and the result updates straight away.

    A passing number is correctly formed. It does not mean the account exists. Your number stays on your device.

Worked example

This is what Credit Card Number Validator gives for its own sample values. Open the tool above and change anything to try your own.

Card number

4111 1111 1111 1111

Result

Network
Visa
Digits
16
Issuer number (first 6)
411111
Check digit
1
Formatted
4111 1111 1111 1111

About Credit Card Number Validator

Check a card number with the Luhn algorithm, find the card network from its first digits and confirm the length. This catches typos, but it cannot tell whether the card is real or has money on it.

FAQs

Is it safe to type a card number here?

The check runs on your device and nothing is sent. Even so, test with sample numbers such as 4111 1111 1111 1111 where you can.

What does a pass mean?

The digits are consistent. It does not mean the card exists or is active.

Which networks are recognised?

Visa, Mastercard, American Express, Discover, JCB, Diners Club, UnionPay and Maestro.

Related tools