Card Number Generator & Validator (Luhn)

Validate or generate test card numbers for Visa, Mastercard, Amex, Discover, UnionPay and JCB using the Luhn algorithm.

วิธีใช้งาน

Validate a card number to detect its network, or generate valid test numbers per network.

Overview

Card Number Generator & Validator (Luhn) is a generator tool that 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

  • Create UUIDs and short strings
  • Raffle and random picks
  • Mock data for testing
  • Generate strong passwords
  • Use it to cross-check “银行卡号生成、luhn” in reports, docs or APIs to avoid manual conversion errors

How to use

  1. 1 Choose type and quantity
  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” 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 (convert → calculate → export).

All calculations run locally in your browser; nothing is uploaded.