toolsko

Choose your language

ToolsKo is written in English. Prefer another language? Open a translated version of this public page.

Browser language suggestion: English. You can choose any language below.

Translation opens in a new tab using Google Translate. It receives this public page URL. Automatic translations may contain mistakes; use the original English page for tool inputs, downloads, and generated documents.

Your choice is remembered on this browser when storage is available. Use Language in the header to change it.

Test Credit Card Number Generator

Generate Luhn-valid test card numbers by brand, in bulk, as plain text, JSON or CSV.

Tool inputs stay in your browser · optional AI search sends your query

Good to know: Numbers start with the network’s public prefix and end with a correct Luhn check digit, so they pass format validation in your own forms. For software testing only. These are not real cards: they are not linked to any bank account and cannot be used to pay for anything. For real payment-gateway tests, use the official test cards for your provider (see Test Credit Card Numbers).

How to use it (step by step)

  1. 1Choose your options: “Brand”, “How many”, “Output”.
  2. 2Press “Generate test numbers”.
  3. 3Copy the result with the Copy button. Press the button again for a fresh result.

Words to know

Luhn check
A quick math test every real card number passes, like a spelling check for numbers. Passing it only means the number is typed in the right shape, not that the card is real.
Test / sandbox mode
A practice version of a payment system. You can “pay” with test cards to try your checkout, but no real money moves.
CSV export
A simple spreadsheet file (values separated by commas) that apps like Excel, Google Sheets and Meta Business Suite can save and open.
JSON
A common text format apps use to store and send data, made of names and values in { } brackets.
Public vs private IP
Your router gives each device a private IP (like 192.168.1.5) at home. The internet only sees one public IP for your whole house.
Mock data
Made-up sample data used to test apps without touching real people’s information.

More in Cards & Payments