Credit Card Security Code (CVV2) generator
Last modified: April 3, 2025
The Credit Card Security Code (CVV2) generator creates the CVV2 (Card Verification Value 2), which is a three- or four-digit (if American Express) security code printed on a credit or debit card. The CVV2 is used as an additional layer of security during card-not-present transactions, such as online or phone purchases, to verify the cardholder’s identity. The generator produces realistic CVV2 values for testing, development, or data simulation purposes, ensuring the generated values conform to typical card security standards.
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 |
---|---|---|---|
CVV2 | 561, 926, 139, … | character varyingcharactertext | Default |
Matching rules
The generator can be assigned to a column that matches any of the following rules:
- The column name is ‘CVV2’, regardless of the table name.
- The column name is ‘CVV2’, and it belongs to a table whose name contains ‘Credit’ and ‘Card’, preceded or followed by any or no characters.
- The column name starts with ‘Card’ and ends with ‘CVV2’, with any or no characters in between, regardless of the table name.
- The column name starts with ‘Card’ followed by ‘Approval’, with any or no characters in between or after, and ends with ‘Code’, regardless of the table name.
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.
Preview of the column data generated by the Credit Card Security Code (CVV2) 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.