Credit Card Number Validator — Luhn Check + Brand Detection
Validate credit card numbers with the Luhn algorithm and detect the brand: Visa, Mastercard, American Express, Discover, JCB, Diners Club, UnionPay, and Maestro. Runs entirely in your browser.
Runs 100% in your browser — nothing is uploaded.
- Formatted:
4532 0151 1283 0366 - Length: 16
- Luhn checksum: ✓ pass
Frequently asked
No. It only checks structural validity — brand pattern, length, and Luhn checksum. It cannot tell you whether a card is active, has funds, or belongs to anyone. Never use this for actual payment authorization; always go through a real payment processor.
No. Everything runs in your browser — nothing is uploaded, logged, or transmitted. You can pull the network tab and watch: no requests are made.
Visa, Mastercard (including 2-series BINs), American Express, Discover, JCB, Diners Club, UnionPay, and Maestro. Each has its own valid length ranges checked in addition to the Luhn checksum.
Related tools
- IBAN ValidatorValidate International Bank Account Numbers (IBAN) using the ISO 13616 mod-97 ch
- Hash GeneratorInstantly compute MD5 and SHA-family hashes of any text. All hashing happens in
- UUID GeneratorGenerate cryptographically-strong UUIDs in bulk. Supports v4 (random), v7 (time-
- .env File ParserParse a .env file and see it as a JSON object. Handles comments, quoted values,
- Base ConverterConvert numbers between binary, octal, decimal, and hexadecimal. Supports huge n
- Cron BuilderPick a preset or enter your own fields to build a cron expression. Includes a pl