Tool Fu
$ toolfu run credit-card-validator

Credit Card Validator — Validate Card Numbers Online Free (Luhn Check)

Validate credit card numbers using the Luhn algorithm. Identify card type (Visa, Mastercard, Amex, Discover) instantly — 100% private, runs in your browser.

all processing runs in your browser
credit-card-validator
input > card number
Test Card Numbers

Free Credit Card Number Validator

Validate credit card numbers using the Luhn algorithm and identify the card type. For developers testing payment integrations and anyone who needs to verify card number formats.

Features

  • Luhn algorithm validation
  • Card type detection (Visa, Mastercard, Amex, Discover, JCB, UnionPay)
  • Formatted card number display
  • Test card numbers for development
  • 100% private — nothing sent to any server
$ cat FAQ.md
How does credit card validation work?
It uses the Luhn algorithm, a checksum formula that verifies the card number's mathematical validity. This doesn't check if the card is active or has funds — it only validates the number format.
Is it safe to enter my card number?
Yes. Everything runs in your browser. Your card number is never sent to any server. But for real cards, we recommend using test numbers instead.
What card types are detected?
Visa, Mastercard, American Express, Discover, Diners Club, JCB, and UnionPay are identified based on their number patterns.
What are test card numbers?
They are special numbers provided by payment processors for testing. They pass the Luhn check but aren't linked to real accounts. Click any test number in the reference section to try it.