Generates Luhn-valid test credit-card numbers and test IBANs.
The Test Data Generator creates Luhn-valid test credit-card numbers and test IBANs you can paste into forms, fixtures, and automated tests. Pick a type and a count, and it produces random sample data right in your browser, so you never have to risk real card numbers or account details. It's handy whenever you need fake but structurally valid data to exercise validation logic.
No. The generator runs entirely in your browser using the Web Crypto API for randomness. Nothing is uploaded, logged, or sent anywhere.
No. They are random 16-digit numbers starting with 4 (a Visa-style prefix) and ending in a valid Luhn check digit. They pass the Luhn algorithm but are not tied to any real account and cannot be used for payments.
No. Each IBAN is a German-style string (DE prefix plus 20 random digits). The check digits are random, not computed, so the IBAN is meant only for testing input fields and is not a usable account.
You can set any count, but it is clamped to a minimum of 1 and a maximum of 100. Each generated value appears on its own line.
Two types: Luhn-valid credit-card numbers and German-format test IBANs. Select the type before generating.