Permanent Account Number (PAN) generator

Last modified: April 3, 2025

The Permanent Account Number (PAN) generator creates unique, valid PAN numbers in the standard format used by the Indian Income Tax Department. It generates alphanumeric 10-character PANs following the structure: five letters, four digits, and one letter, for example, ABCDE1234F.

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
PAN HWULX6881T, AAFKS2282G, … character varyingcharactertext Default

Matching rules

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

  • The column can have any name, and it belongs to a table whose name is ‘PAN’ or whose name contains ‘Permanent’ and ‘Account’, preceded or followed by any or no characters.
  • The column name contains ‘number’ or ‘account’, preceded or followed by any or no characters, and it belongs to a table whose name contains ‘Permanent’, with any or no characters before or after.
  • The column name contains ‘account’ and ‘number’, preceded or followed by any or no characters, and it belongs to a table whose name contains ‘Permanent’, with any or no characters before or after.
  • The column name ends with ‘permanent’ or ‘PAN’, preceded by any or no characters, 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 Permanent Account Number (PAN) generator

Permanent Account Number (PAN) generator