Test Data Generator

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.

Common uses

  • Seeding test fixtures or mock databases with structurally valid credit-card numbers
  • Verifying that a payment form's Luhn checksum validation accepts and rejects the right inputs
  • Generating placeholder IBANs to test bank-account input fields and parsers
  • Producing quick throwaway sample data for QA, demos, or bug reproductions
  • Filling out staging or sandbox forms without exposing real financial data

FAQ

Is my data sent to a server?

No. The generator runs entirely in your browser using the Web Crypto API for randomness. Nothing is uploaded, logged, or sent anywhere.

Are the generated credit-card numbers real?

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.

Are the IBANs valid for real bank transfers?

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.

How many items can I generate at once?

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.

What types of test data are supported?

Two types: Luhn-valid credit-card numbers and German-format test IBANs. Select the type before generating.

Related tools

  • Barcode Generator
  • Fake Data Generator
  • Lorem Ipsum
  • NanoID Generator
  • Password Generator
  • QR Code Generator
  • Random Generator
  • Token Generator