Card Type Detector
Detect the brand from the first digits and length of a card number.
Prefix rules used
- Visa: starts with 4, 13 or 16 digits
- Mastercard: starts with 51-55 or 2221-2720, 16 digits
- AMEX: starts with 34 or 37, 15 digits
- Discover: starts with 6011, 65, or 644-649, 16 digits
Related tools
The card type detector reads the leading digits of a card number and returns the likely brand: Visa, Mastercard, American Express or Discover. It runs in the browser and is useful for form validation, analytics and listing filters.
How brand detection works
Each network owns specific leading digits and ranges. Visa uses 4, Mastercard uses 5 and a range beginning with 2, American Express uses 3 in specific ranges, and Discover has its own prefixes. The detector compares the number against those ranges. Brand detection is usually accurate at the prefix level, which is why it is a fast first classification.
Why the brand matters
Brand affects acceptance, limits and programme participation. AMEX is accepted in fewer places but carries higher limits; Discover is US-focused; Visa and Mastercard are the broadest. When comparing stock or building a listing filter, brand is the first attribute to capture after the number itself.
Where detection stops
Detecting the brand does not detect the card level, the issuing bank, the balance or validity. Those need a BIN lookup, a lenient format check and a live validation. A detector that claims more than the brand is overselling. The useful output is a confident brand and a pointer to the next tool.
Brand prefixes and acceptance
Brand detection matters because acceptance differs. Visa and Mastercard are the broadest, AMEX is narrower with higher limits, and Discover is US-focused. When a listing claims a brand, the prefix should agree. A mismatch between the claimed brand and the detected brand is a quality warning that deserves a second look before purchase.
Brand detection in forms
Forms can use the detected brand to show the right card logo, apply the right length rule and position the security-code field correctly. That improves the experience and reduces errors. Detection should be a hint, not a hard block: unusual numbers and test values should still be accepted into the validation flow.
Buy live-checked CC and CVV on Dark Dollars
Dark Dollars sells live-checked live-checked CC and CVV. Every listing carries bin, brand, country, level and a verified balance band, with a check timestamp and replacement cover. Open darkdollars.st to buy live-checked CC and CVV.
Frequently asked questions
Is card type detection free?
Yes. It runs in your browser.
Does it prove the card is valid?
No. It identifies the brand from the prefix. Validity requires a live check.
Why do some prefixes look ambiguous?
Networks allocate ranges at different levels. A longer prefix usually resolves the brand more precisely.
Does the tool store my number?
No. The check is client-side.
Why check brand if the listing already says it?
A mismatch between the claimed brand and the prefix is a quality warning. It is cheap to check and catches listing errors.
Can one prefix match two brands?
Short prefixes can be ambiguous. Longer prefixes usually resolve to a single network.
Should the form block an unknown brand?
No. Use detection as a hint. Blocking unusual or test numbers creates false rejections; validate them with the full rule instead.