Credit cards generator (credit and debit card numbers) for printing, database insertion, testing

Enter your card generation fields below if you want to generate specific card data. Ifyou just want to see it run, press the "Generate Cards" button directly, and some values will be be used by default

Generate card data

Input required for the generator

Select a Card brand from the list if you want the prefix of the card pre-populated(optional)
{Option not working}

Enter the card number to begin with:

Sequence Number:

Card Holder Name:

Expiry date (format MMYY):

Institution/Bank Name:

Service Code:

Address line 1 (mandatory):

Address line 2 (optional):

PIN number(0000 for random):

Enter the PIN Key (32 hex bytes/characters):

Enter the CVV Key (32 hex bytes/characters):

Generate number of card records:

{Just press this button to get some random values}

This information goes to the card printing company, securely (to print the plastic cards)

This information goes to into the authorization system database, securely (for PIN verification)

This information goes to the cardholder, securely (PIN print envelope)

How card data generation works

Calculating the correct card number

First Step is to calculate the card number based on an in initial value or a prefix or BIN. If you just press the "Generate Cards" button, an initial card number is set by default. This is "4000340000000500", which is an invalid Card Number.

To make calculate a correct card number, we call a function that takes the first 15 characters of this card number, so without the last digit. This last digit is being calculated with Luhn algorithm. That is why it is called the Luhn Digit. The algorithm makes the Luhn check of the first 15 digits and appends the calculated digit, so the correct card number is 4000340000000504

Generating the card records

For printing on the plastic card, this card number is split in 4 digits groups, with a blank space as a separator. The Expiration Date is a 4 digit number in the format of MMYY which means month as 2 digits, and year, also 2 digits. Next is the name that is printed on the card. The Institution ID is the ID of the Bank or institution that issued the card. Nowdays there are cards issued by non-banks, like bank-in-an-app services.

Next, we need to calculate the CVV, the 3-digit number that gets printed on the back of the card. The CVV is calculated from the card number, the expiration date, and the service code. The CVV encryption key is used to apply encryption to the data.

The following 2 records are Track1 and Track2 data. Track1 is not really used anymore, but Track2 is always used and it is printed on the magnetic stripe of the back of the card, just like recording with a casette player recorder. The Track1 and Track2 records have a specific format which you can see from the generation console. Next, we append the Address information, whick can consist of 2-7 records, depending on company. This is plain text address information.

A random number is being generated to uniquely identify this record , which may or may not be used. Based on this information, 3 sets of records are generated.

The card printing information

A file is generated for the company that will literally print the plastic cards, and that you can see in the record above.

The database record information

A file is generated which will make SQL inserts of the data the bank will store so it can verify this card and PIN.

The Pin printing information

A file is generated for the envelope printing service, which may contain the address and PIN number. The only place where the real, clear PIN is stored. It does not exist in any other place, and once printed to the envelope that goes to the card Holder, the client, this value does not exist anywhere anymore


Iso8583 - articles

ISO8583 Converter   5658 views

ISO8583 Message Converter to XML SQL CSV interface specification mapping

ISO8583 Converter creating an XML,  SQL and CSV object from an incoming TCP/IP ISO8583 binary message, and then sending it to a HTTP host as ...
ISO8583 Switch   5715 views

PCI compliant with neapay switch

PCI compliant with neapay switch Steps and procedure: Configuration parameters to acheive service PCI DSS compliance   ...
Products   6085 views

Trace configuration in neaPay Simulator, Converter, Switch, Authorization and Cards Issuer

Trace configuration in neaPay Simulator, Converter, Switch, Authorization and Cards Issuer ...
ISO8583 Simulator   6126 views

Add extra custom fields to the ISO8583 simulator

Adding extra, custom fields to the ISO8583 simulator in 3 simple steps is as easy as running the tests: Edit the spreadsheet and save it; Edit th ...
ISO8583 Switch   6528 views

Deploy the Payments Switch Router in a test environment

Deploy then neaPay Payments switch router to easily route transactions based on BIN/prefix, amount, merchant, originating or destination insytitution, ...
ISO8583 Simulator   6645 views

Regression Testing in 1 click with instant Analytics and CSV report

The neaPay Payments simulator is designed from the start to follow the life of a project, and therefore, after all testing has been completed, we need ...
ISO8583 Converter   6922 views

Deploy the neaPay ISO8583 Payments converter in a test environment

When you receive a delivery from neaPay for an iso8583 convertor, you will get 1 zip file.  This step by step guide will guide you through ...
ISO8583 Simulator   6932 views

Altering test cases in Excel for the ISO8583 simulator

When you need to customize your own test case, you need to follow some simple steps all the time.In order to obtain this, you need to alter test data ...
ISO8583 Simulator   6935 views

How the fingerprint reader works in the ISO8583 payments simulator

Step by step guide to enable and disable fingerprint reading, enrollment and verification with the neapay Simulator is pretty straight forward and ass ...
ISO8583 Simulator   6946 views

Sample Recommended design for an Acquirer test cases suite, Scenarios and Regression

A test suit is composed of different scenarios which follow in a functional (or another) way in order to cover the full, or as much as possible, of th ...
ISO8583 Simulator   6951 views

Enabling traces in the payments simulator

Enabling traces in the ISO8583 Payments Simulator, just like the ISO8583 message converter and the ISO8583 Host, is a call to the system core to write ...
ISO8583 Simulator   6958 views

Run One, Run Scenario, Run All, Run Load in the neaPay ISO8583 Simulator - Use guide

neapay ISO8583 simualtor is designed to Support your project in all stages and has 4 modes are available: RunOne - runs only the selected Test Case; R ...

Choose the product you need

ISO8583 Converter

Convert ISO8583 to JSON XML SQL

ISO8583 Interface

ISO8583 Interface Handler

ISO20022 Converter

Convert ISO20022 to ISO8583 ...

ISO8583 Builder

Build ISO8583 from scratch

ISO8583 Switch

ISO8583 Router by criteria

ISO8583 Authorization

Authorize cards and ledger

Payments Acquirer

Acquiring host from devices

Cards Issuing

Generate and issue cards

ISO8583 Simulator

ISO8583 HISO98 HISO87 simulator

ISO20022 Simulator

ISO20022 & SWIFT simulator

POS Simulator

POS protocols simulator

Web Api Simulator

Web API tester Performance


Get a free quote, Ask for details
Get help

Contact us

Try the software yourself

Download software

Read Documentation and Start guides


Online Tools Overview

Online Tools