Credit Card Validator

Validate a credit card number's format using the Luhn checksum and detect the card brand. 100% local — nothing is stored or sent.

Luhn check
Network match
Batch check (one number per line)

How to use

Type a card number (spaces are fine) to run a Luhn checksum and find a possible network from the bundled ranges. Invalid numbers explain why. Use Batch check to validate many at once, or generate valid test numbers — all locally, nothing is stored.

FAQ

What does it check?

It checks whether a card number passes the Luhn checksum (the format check used by card networks) and reports a possible network from its prefix and length. When a number is invalid it tells you exactly why.

Can I check many at once?

Yes. Open Batch check, paste one number per line, and every number is checked with its possible network and the reason for any failure — handy for QA and test data.

Can it generate test numbers?

Yes. Generate a valid example produces a Luhn-passing number per network for testing forms. It is fake — it is not a real, funded card.

Does it mean the card is real?

No. Passing Luhn only means the number is well-formed, not that it is an active, funded account.

Is it safe to use?

Yes. The check is 100% local — the number is never stored, logged or sent anywhere.

Last updated: