Gerador e validador de cartões (Luhn)

Valida ou gera cartões de teste para Visa, Mastercard, Amex, Discover, UnionPay e JCB com Luhn.

Como usar

Valide um cartão para detectar a rede, ou gere números de teste por rede.

Overview

Card Number Generator & Validator (Luhn) is a Generator tool. Validate or generate test card numbers for Visa, Mastercard, Amex, Discover, UnionPay and JCB using the Luhn algorithm. Supports batch processing and one-click copy. It runs 100% in your browser with no upload, so you get instant results with privacy. Whether you need a quick answer or batch processing with precise control, you can enter, validate and export in seconds. The UI is responsive on mobile, tablet and desktop and supports one-click copy.

Use cases

  • Daily use of Card Number Generator & Validator (Luhn): Validate a card number to detect its network, or generate valid test numbers per network. — enter and get instant results without manual lookup.
  • One-click copy keeps results ready to save, check or share with family and pros.
  • Use Card Number Generator & Validator (Luhn) offline or on poor network — all calculations stay local and private.
  • Create UUIDs and short strings
  • Raffle and random picks

How to use

  1. 1 Validate a card number to detect its network, or generate valid test numbers per network..
  2. 2 Set length/charset rules
  3. 3 Preview and lock/exclude items
  4. 4 Copy or export CSV/TXT

Highlights

  • Local & private: processing stays in your browser
  • Live validation with tolerant parsing
  • One-click copy and export for docs, code or sheets
  • Batch and offline support under poor network

Notes

  • Batch export in chunks for thousands
  • Mock data for testing only
  • Uses Crypto API

FAQ

How random?
crypto.getRandomValues with system entropy.
Reproducible?
Fix seed or export log if needed.
How is Card Number Generator & Validator (Luhn) different?
It runs locally with a focus on speed and privacy, plus tolerant parsing for “luhn, card number” and one-click copy for reuse.
Can I use results in official reports?
Use it as a working draft and cross-check with authoritative sources; keep the exported log and parameters for traceability.
Tip:Tip: Bookmark this page or pin the tab; find related tools via categories and search.

Todos os cálculos são executados localmente no seu navegador; nenhum dado é enviado.