Credit Card Test Number Generator
Generate Luhn-valid, clearly-fake test credit card numbers for sandbox use. Per-brand BIN prefixes (Visa, Mastercard, Amex, Discover, JCB, Diners, UnionPay, Maestro) with matching expiry, CVV, and cardholder name. Bulk export to JSON/CSV/text. Includes official processor sandbox library (Stripe, Adyen, Braintree, PayPal). 100% client-side — sandbox only, never real.
About Credit Card Test Number Generator
Generate Luhn-valid, clearly-fake test credit card numbers for sandbox use. Per-brand BIN prefixes (Visa, Mastercard, Amex, Discover, JCB, Diners, UnionPay, Maestro) with matching expiry, CVV, and cardholder name. Bulk export to JSON/CSV/text. Includes official processor sandbox library (Stripe, Adyen, Braintree, PayPal). 100% client-side — sandbox only, never real. Everything runs locally in your browser — your data never leaves your device.
How to use
- Enter your input in the tool above.
- Adjust any options to your preference.
- Use the Copy or Download buttons to save the result.
- Everything happens locally — your data never leaves your browser.
FAQ
Are these credit card numbers real?
No. Every number this tool generates is Luhn-valid (passes the mod-10 checksum that payment processors use for basic validation) but UNASSIGNED — meaning no bank has ever issued them. They are for sandbox / development / testing only. They CANNOT be used for real payments. Attempting to do so is fraud.
Which card brands are supported?
Eight brands with their correct IIN/BIN prefixes and lengths: Visa (4, 16 digits), Mastercard (51-55 + 2221-2720 2-series, 16 digits), American Express (34/37, 15 digits, 4-digit CVV), Discover (6011/65/644-649/622126, 16 digits), JCB (3528-3589, 16 digits), Diners Club (300-305/36/38, 14 digits), UnionPay (62, 16 digits), and Maestro (5018/5020/5038/6304/6759/6761-6763, 16 digits).
How does the Luhn algorithm work here?
We pick a brand prefix, fill the middle with random digits, then compute the correct Luhn check digit so the full number always passes mod-10 validation. The same is true for the included processor sandbox library — every published test number from Stripe, Adyen, Braintree, and PayPal in our library is Luhn-valid (we verify each on load).
Can I bulk-generate test cards for automated test suites?
Yes. Generate up to 10,000 card bundles per click — each bundle includes number, expiry (MM/YY, always future-dated), CVV (3 digits, or 4 for Amex), and a fake cardholder name. Export as JSON, CSV, or plain text with your preferred number formatting (plain, spaced, dashed, or Amex-style 4-6-5 grouped).
What extra features does this tool have versus other card generators?
(1) Eight brands with correct BIN prefixes + lengths. (2) Luhn-valid check digit always. (3) Full bundle (number + expiry + CVV + cardholder). (4) Bulk generation up to 10k. (5) Four number formats (plain/spaced/dashed/grouped). (6) Brand auto-detection from a pasted number. (7) Processor sandbox library with official Stripe/Adyen/Braintree/PayPal test cards. (8) Scenario-tagged decline cards (insufficient funds, 3DS required, fraud, etc.). (9) Deterministic seed for reproducible test fixtures. (10) Export JSON/CSV/text. (11) localStorage history (max 20). (12) Shareable URL with seed + brands + format encoded. (13) Prominent honesty banner.
Related tools
.bashrc / .zshrc Alias & Config Manager
Build shell aliases, functions, exports, and PATH edits in a visual editor, then export a clean, commented .aliases file sourced from both .bashrc and .zshrc — with shadowing detection against shell builtins and common CLI tools, function suggestions when args are needed, starter packs (git, docker, kubectl, navigation, safety, ls, dev, devops, data science), import of existing rc files, dedupe, history (localStorage), and shareable URL. 100% client-side.
Add / Subtract Date Calculator
Add or subtract years, months, weeks, days, hours, minutes and seconds from a starting date/time. Calendar-day or business-day mode with custom weekend + holiday list. Month-end policy toggle (clamp to last day vs overflow). Repeat/series mode (e.g. every 2 weeks x 10) with CSV export. Shareable URL. 100% client-side.
Age Calculator
Calculate exact age from a birth date in calendar years/months/days (no negative-day bugs) plus totals in months/weeks/days/hours/minutes/seconds. Next-birthday countdown with weekday. Feb-29 birthday policy toggle. Milestones (1,000 days, 10,000 days, 1 billion seconds). Zodiac sign + Chinese zodiac. Age gap comparison. Shareable URL. 100% client-side.