Menu
PDF Tools
Image Tools
Converters & Utilities
Seller & Print Tools
Accounting & Business
Calculators
Text & Writing Tools
Developer & Web Tools
Creator & Social Tools
Browser Utilities & Games
Document & Design Makers
Text & Developer Tools
Exam & Form Tools

Credit Card Number Validator

This tool checks whether a card number passes the Luhn check and shows the card brand from its first digits. It checks the pattern only, and nothing you type is sent or stored.

How to use Credit Card Number Validator online

  1. Type or paste numbers. One per line, test numbers only.
  2. Choose masking. Keep the middle digits hidden.
  3. Read the table. Result, brand and length.
  4. Copy the result. Or clear the box.

Why use this free Credit Card Number Validator

  • Luhn check
  • Brand from the prefix
  • Batch of up to 2000 lines
  • Masked output
  • Spaces and hyphens allowed
  • Nothing is sent

What the check does

Card numbers end in a check digit. The Luhn formula doubles every second digit from the right, adds the digits and tests that the total divides by ten. It catches most typing mistakes, such as one wrong digit or two swapped digits. The page runs this check on each number you give it.

What it does not do

Passing the check does not mean a card exists, is active, has money or belongs to anyone. Only the bank that issued the card can say that. The page never talks to a bank or a payment network, and it cannot take a payment. Use only test numbers from your payment provider while you build or test a form.

The brand

The first digits and the length show the card network, for example Mastercard, American Express, Discover, Diners Club, JCB, UnionPay, RuPay and Maestro. The page matches the prefix and length. Some ranges overlap, so the brand is a guess from the pattern and not a fact about the card.

Batch and masking

Put one number on each line to check a list, such as test data in a spreadsheet. With masking on, the result shows only the first six and the last four digits. Spaces and hyphens are ignored.

Privacy

The numbers are checked in your browser and are not uploaded or kept, apart from the last-text draft the editor can keep on this device, which you can dismiss. Even so, do not paste real card numbers into any web page. Test numbers are enough for this tool.

Using the tool

The Credit Card Number Validator works again whenever the text or an option changes. Find and replace is built into the editor with Ctrl+F and Ctrl+H.

Credit Card Number Validator: frequently asked questions

Which test numbers can I try?
The sample uses numbers that payment providers publish for testing, and each provider lists more in its own developer notes.
Why does a valid number show as Unknown brand?
Its prefix and length do not match a pattern in the table.
Can this tell me if my card is real?
No. Only the issuer can.
How many digits can a card number have?
Between 12 and 19, and this page rejects anything outside that range.
Does the formula catch every mistake?
No. It catches most single-digit errors and most swaps, but some mistakes still pass.
Where does my text go when I use the Credit Card Number Validator?
Your text stays on this device when you use the Credit Card Number Validator. The editor may keep the last text locally and offers to bring it back; you can dismiss it.
How do I keep the result of the Credit Card Number Validator?
Yes. Copy the Credit Card Number Validator result, or press Use result as input and carry on with the new text.

Related searches for Credit Card Number Validator

  • Credit Card Number Validator online
  • free Credit Card Number Validator
  • Credit Card Number Validator online free
  • Credit Card Number Validator for mobile
  • Credit Card Number Validator without sign up
  • Credit Card Number Validator – Developer & Web Tools

Credit Card Number Validator is a free online tool on MAITBOX, in the Developer & Web Tools group. It runs in your browser, so what you type is not sent to a server. It works on Android and iPhone, and on Windows, Mac and Linux, with no download and no account.

More tools in Developer & Web Tools →

Search tools