Início
Tom Utilities

Validador do algoritmo de Luhn

Utilitários para desenvolvedores

Valide números de cartão com o algoritmo de Luhn e detecte a bandeira como Visa, Mastercard ou Amex.

Como usar

How the Luhn check works

Starting from the right, every second digit is doubled and its digits summed. If the total is divisible by ten the number passes. The tool also guesses the network from the leading digits.

  1. Type or paste the card number.
  2. The result and card type update as you type.
  3. Copy the normalised number if needed.

Perguntas frequentes

Does a passing number mean the card is real?

No. The Luhn check only catches typing mistakes and random numbers. It says nothing about whether the card exists or is active.

Is my card number safe?

Yes, the check happens in your browser and the number is never transmitted.