Credit Card Number (ISO IEC 7812) generator
Last modified: April 3, 2025
The Credit Card Number (ISO IEC 7812) generator creates realistic credit card numbers following the international standard ISO/IEC 7812. These numbers are structured in a format that includes the Issuer Identification Number (IIN), a unique account identifier, and a check digit validated by the Luhn algorithm. The generator produces numbers compatible with common card providers for testing and development purposes.
Generator properties
The table provides key details about the generator, including the short name, sample of the generated data, the supported data types, and whether it is specific to a particular country.
Short name | Example of generated data | Data type matching | Country-specific |
---|---|---|---|
Credit Card Number | 345890752288470, 4175002219117469, … | character varyingcharactertextbigintdecimal | Default |
Matching rules
The generator can be assigned to a column that matches any of the following rules:
- The column name is ‘CNN’, regardless of the table name.
- The column name starts with ‘CreditCard’ or ‘Card’ and ends with ‘Number’, with any or no characters in between, regardless of the table name.
- The column name contains ‘Number’, preceded or followed by any or no characters, and it belongs to a table whose name contains ‘Credit Card’, preceded or followed by any or no characters.
- The column name starts with ‘debit’ or ‘credit’ followed by ‘card’, preceded or followed by any or no characters, and ends with ‘num’, regardless of the table name.
Configure additional options
All common card providers are selected by default. The tool allows you to exclude the card providers by clearing the checkboxes in the Name column.
Preview of the column data generated by the Credit Card Number (ISO IEC 7812) generator
Want to find out more?
Overview
Take a quick tour to learn all about the key benefits delivered by dbForge Studio for PostgreSQL.
All features
Get acquainted with the rich features and capabilities of the tool in less than 5 minutes.
Request a demo
If you consider employing this tool for your business, request a demo to see it in action.