Credit Card Type generator

The Credit Card Type generator creates data related to different types of credit cards. These types include commonly recognized categories such as Visa, Mastercard, American Express, Discover, and others. The generator produces realistic credit card type values for use in testing, development, or data simulation scenarios, ensuring that generated data aligns with the typical classification of credit cards.

The table provides key details about the generator, including its short name, examples of generated data, supported data types, and country-specific data.

Short name Example of generated data Data type matching Country-specific data
Credit Card Type American Express, VISA, MasterCard,
Discover, JCB
character varying
character
text
Default

Matching rules

The generator can be assigned to a column that matches any of the following rules:

  • The column name starts with CC and ends with type, with any or no characters in between, regardless of the table name.

  • The column name starts with CreditCard or Card and ends with Type, with any or no characters in between, regardless of the table name.

  • The column name is Type, and it belongs to a table whose name starts with Credit and contains Card, preceded or followed by any or no characters.

Configure additional options

The generator produces data based on a regular expression. Since it is built on the RegExp generator, see Regular Expression generator to customize settings and understand the correct usage of syntax.

In addition, the tool allows you to choose a column to which the generator must be applied from the Credit Card Number Column list.

Preview of the column data generated by the Credit Card Type generator

Credit Card Type generator