Security Notice Only enter the first 6–8 digits (the BIN/IIN). Never type a full card number, expiry date or CVV into this or any lookup site. Results identify the likely network and issuer only; they do not prove a card is valid or active.
Local processing — the digits you type are compared with a table built into this page and are not sent to any server.
Enter the first 6-8 digits of a credit or debit card number
For developers and testers: check whether a sample number passes the Luhn checksum. Do not enter a real card's full number.
Type a sample number to see it grouped with the spacing its network uses. Do not enter a real card's full number.
BIN Network Bank Country Type

What the BIN Lookup identifies

A BIN (bank identification number), also called an IIN (issuer identification number), is the first six to eight digits of a payment card number. It identifies the card network and, for a known range, the issuing bank, its country and whether the card is credit or debit. This page matches your digits against a small table built into the page. Three extra tabs check the Luhn checksum of a test number, format a number with standard spacing, and list the bundled BIN table.

Only ever enter the first 6–8 digits. Never type a full card number, expiry date or security code (CVV) into this or any other lookup website. Results are for identification only: they cannot confirm that a card is genuine, active or funded, and they are not financial or fraud-screening advice.

How to use it

  1. On the BIN Lookup tab, type 6 to 8 digits (at least 4 are required) and press Look Up BIN or Enter. Clear empties the field and the result.
  2. Read the result: BIN/IIN, card network, issuing bank, country and card type. If only a network prefix matches, the bank, country and type show as Unknown.
  3. The Luhn Validator and Card Formatter tabs are meant for developers and testers. Use published test numbers such as 4111 1111 1111 1111, not a real card.
  4. The BIN Database tab lists every bank-level entry. Search by BIN, bank, country code or network, or filter with the network buttons.

How the matching works

The lookup uses longest-prefix matching. The table holds 23 short network prefixes, such as 4 for Visa, 51–55 for Mastercard, 34 and 37 for American Express, 35 for JCB and 62 for UnionPay, plus 68 six-digit entries for individual issuers. The tool picks the longest entry that your digits start with: a bank-level row if one matches, otherwise the network prefix. All of this runs in JavaScript in your browser; the digits you type are not sent to any server and nothing is stored.

The Luhn check doubles every second digit counting from the right, subtracts 9 from any doubled value above 9, adds all digits together and passes the number if the total is divisible by 10. It needs at least 12 digits. The formatter guesses the network from the leading digits and groups the number 4-6-5 for American Express, 4-6-4 for Diners Club and in blocks of four for everything else.

Data sources and limitations

The page does not name a source or date for its BIN table. It is a small static sample bundled with the page, not a licensed or complete BIN database, and it is not updated automatically.

Frequently asked questions

Is it safe to enter my card's first digits?

The first six to eight digits identify the issuer and cannot be used to make a payment on their own, and this page keeps them in your browser. Still, never type a full card number, expiry date or CVV into a lookup site, including the Luhn and formatter tabs here.

Does passing the Luhn check mean a card is real?

No. The Luhn formula only catches typing mistakes such as a wrong or swapped digit. Many invented numbers pass it, and it says nothing about whether an account exists or has funds.

How many digits is a BIN?

Traditionally six. The ISO/IEC 7812 standard now uses eight-digit issuer identification numbers, and card networks have been moving to them, which is why the input accepts up to eight digits.

Can I use this for fraud screening?

Not on its own. Payment processors and card networks provide maintained BIN data for risk checks.

Related tools