← All text tools

Credit card number validator

Check a card number's format and network with the Luhn test. No payment data is sent.

  • Free
  • No sign-up
  • Works on any device

About Credit card number validator

Checks whether a card number has a valid structure using the Luhn algorithm: double every second digit from the right, subtract 9 if over 9, sum everything and test for a multiple of 10. It also guesses the network from the starting digits. It cannot tell if an account is real or has funds.

How to use Credit card number validator

  1. Type or paste the card number.
  2. Run the check.
  3. See whether it passes the Luhn test and which network it belongs to.

Why use this tool?

Also known as

Frequently asked questions

Does a valid number mean the card is real?

No. Luhn only catches typos and random numbers. A passing number can still be unissued, expired or closed, and only the bank can confirm that.

What is the Luhn test?

It is a simple checksum on the digits that catches most typing errors, such as a swapped or wrong digit. It does not check balance, expiry or whether the account is active.

How is the card network detected?

The network comes from the first digits and the length of the number. For example, the starting digits point to Visa, Mastercard or others. It is a format match only.

Is Credit card number validator free?

Yes. Credit card number validator on Toolipedia is free to use, with no sign-up and no watermark.

Is it safe to use?

Yes. Everything is worked out in your browser, and nothing you enter is sent to our server.

Does it work on my phone?

Yes. It works in any modern browser on Android and iPhone, as well as on tablets and computers. There's nothing to install.

Do I need an account?

No. Just open the page and use the tool. There's no sign-up and no email needed.

Can I put Credit card number validator on my own website?

Yes. Use the Embed on your site button under the tool to copy a short piece of code and paste it into your page. It is free, needs no account, and the tool keeps working inside your page.

Related tools