Credit Card Test Number Generator

Generate Luhn-valid fake card numbers for testing.

Support
Works Offline
Privacy First
No Login
No API

About the Credit Card Test Number Generator

Generate algorithmically valid (Luhn checksum) test credit card numbers for Visa, Mastercard, American Express, and Discover formats, clearly labelled for use in sandbox and test environments only.

Examples

Visa test number

network=visa

Output

4111 xxxx xxxx xxxx (Luhn valid)

Keyboard shortcuts

  • Copy the main outputCtrl / ⌘ + Shift + C
  • Download the resultCtrl / ⌘ + S
  • Share this toolCtrl / ⌘ + Shift + S
  • Reset the inputsAlt + R
  • Open the tool search paletteCtrl / ⌘ + K

Related tools

Frequently asked questions

Version 1.0.0 · Updated 2026-08-06 · Runs entirely in your browser