Validador do algoritmo de Luhn
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.
- Type or paste the card number.
- The result and card type update as you type.
- 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.
Ferramentas relacionadas
Validador de IBAN
Valide um IBAN com o checksum Mod-97 da ISO 13616 e veja o código do país e os dígitos de controle.
Gerador de strings aleatórias
Gere strings aleatórias seguras com comprimento, conjuntos de caracteres e filtro de caracteres ambíguos personalizados.
Gerador de UUID / GUID
Gera UUIDs aleatórios da versão 4 e os copia um a um ou em massa.
Gerador de hash
Calcula resumos MD5, SHA-1, SHA-256 e SHA-512 de qualquer texto.
Conversor de timestamp
Converte entre timestamps Unix, ISO 8601 e datas locais legíveis.
Testador de regex
Testa expressões regulares com texto de exemplo e inspeciona cada correspondência e grupo de captura.